Critical Error class.CategoryHandler.php

in Download Manager Free

Viewing 8 posts - 1 through 8 (of 8 total)
Jun 22, 2020 at 6:35 pm
#131232
Participant
T B
OP

Hi there,

I had to deactivate the plugin today because of a critical error.
I only get this message:

WordPress-Version 5.4.2
Aktuelles Theme: Trusted Pro (Version 1.6.5)
Aktuelles Plugin: Download Manager (Version 3.0.98)
PHP-Version 5.6.30
Fehler-Details
==============
Ein Fehler vom Typ E_PARSE wurde in der Zeile 299 der Datei /srv/www/virtual/XXXXX/www.XXXXXXX.de/vhostdata/htdoc/wp-content/plugins/download-manager/libs/class.CategoryHandler.php verursacht. Fehlermeldung: syntax error, unexpected ‘::’ (T_PAAMAYIM_NEKUDOTAYIM)

Do you maybe have any idea, how I could solve this error?

Thanks a lot for your help!
Tilo

Jun 23, 2020 at 1:02 am
#131236
Participant
Juan Silva

I guess this is the same problem I have

Parse error: syntax error, unexpected ‘::’ (T_PAAMAYIM_NEKUDOTAYIM) in /home/braintec/public_html/AMVElementor/wp-content/plugins/download-manager/libs/class.CategoryHandler.php on line 299

Any help will be appreciated… Thanks

Jun 23, 2020 at 6:37 pm
#131308
Participant
T B
OP

Problem solved. I needed to move my site to a different server, because the PHP version was too old 5.X
Now on the new server (I cloned the whole site) with PHP 7.3 the plugin is working again.

Jun 25, 2020 at 1:57 pm
#131532
Moderator
Nayeem Riddhi
Staff

Anyone facing this problem please update your PHP version. the problem will get resolved.

Jun 26, 2020 at 4:16 pm
#131637

Do you have a better solution than “upgrade your PHP”? For our site, that poses a problem, since we’re on a specific version that works with several of our critical plugins.

I’d hate to have to go find a new Download Manager simply because of one line of code that could be re-written to be backward compatible.

Other suggestions? Can I just comment out that line, and if so, what impact would it have (what feature wouldn’t work)?

Thanks,
Burce

Jun 27, 2020 at 5:12 pm
#131672
Keymaster
Shahjada
Staff

Actually, you will have to upgrade php version very soon, wordpress also dropping backword compatibility very soon. Here is wordpress requirements:

Requirements

Jun 27, 2020 at 5:15 pm
#131673

Oh well. I’ll just find a different download manager plugin then. I just hate having to switch six sites off to another product. I guess it’s just inevitable.

Jun 27, 2020 at 5:32 pm
#131674
Keymaster
Shahjada
Staff

I see, change 6 sites are lots of work, ok, don’t worry, we are checking it on our side. But upgrading PHP will be safer for you if those sites are serious for you.

Viewing 8 posts - 1 through 8 (of 8 total)

The topic "Critical Error class.CategoryHandler.php" is closed to new replies.