Welcome to Geeklog, Anonymous Thursday, May 30 2024 @ 03:55 pm EDT

Geeklog Forums

Downloads plugin: tsunami of messages

Status: offline


Forum User
Full Member
Registered: 06/09/03
Posts: 162
Location:Rotterdam & Bonn
After installing the latest downloads plugin a message appears in the error log:

Sat Jan 12 19:22:57 2019 - - E_WARNING(2) - Use of undefined constant ext - assumed 'ext' (this will throw an Error in a future version of PHP) @ .../plugins/downloads/include/functions.php line 415

Corresponding code:

$len = strlen(ext);
$modurl = substr($url, 0, -$len) . $ext;

I do assume it's a typo.
Yes, I'm on php 7.2


Status: offline


Site Admin
Registered: 09/27/05
Posts: 1468
Thanks for the bug report. Added the issue to GitHub: https://github.com/Geeklog-Plugins/downloads/issues/11
One of the Geeklog Core Developers.

All times are EDT. The time is now 03:55 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content