Critical Error class.CategoryHandler.php

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

T B
Participant

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

#131236

Juan Silva
Participant

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

#131308

T B
Participant

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.

#131532

Nayeem Riddhi
Moderator

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

#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

#131672

Shahjada
Keymaster

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

Requirements

#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.

#131674

Shahjada
Keymaster

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.