Welcome to Geeklog Monday, December 09 2019 @ 08:43 am EST

Geeklog Forums

Downloads plugin: tsunami of messages


Status: offline

remy

Forum User
Full Member
Registered: 09/06/03
Posts: 150
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: 27/09/05
Posts: 1384
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 EST. The time is now 08:43 am.

  • 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