Welcome to Geeklog, Anonymous Tuesday, October 15 2024 @ 12:35 pm EDT

Geeklog Forums

Downloads plugin: tsunami of messages


Status: offline

remy

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 - 46.119.122.127 - 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

 Quote

Status: offline

Laugh

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

All times are EDT. The time is now 12:35 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