DB-Cache-Reloaded-Fix icon indicating copy to clipboard operation
DB-Cache-Reloaded-Fix copied to clipboard

Plugin could not be activated because it triggered a fatal error

Open lukecav opened this issue 7 years ago • 4 comments

Parse error: syntax error, unexpected 'new' (T_NEW) in /srv/www/wordpress-trunk/wp-content/plugins/db-cache-reloaded-fix/db-cache-reloaded.php on line 91

https://github.com/ivankristianto/DB-Cache-Reloaded-Fix/blob/master/db-cache-reloaded.php#L91

lukecav avatar Apr 07 '17 17:04 lukecav

Thank you for the report. Can you tell me what is your WP version?

ivankristianto avatar Apr 10 '17 05:04 ivankristianto

WP 4.7.3.

lukecav avatar Apr 10 '17 15:04 lukecav

Hi, This parse error occurs under PHP 7.0 (PHP 5.6 is fine). http://php.net/manual/fr/migration70.incompatible.php#migration70.incompatible.other.new-by-ref

laurent-angeli avatar Oct 11 '18 08:10 laurent-angeli

Plugin could not be activated because it triggered a fatal error.

I have the same problem when I tried to activate the plugin of my custom functions. even when i tried to delete it it never deletes ??

Egyhands avatar Aug 04 '20 08:08 Egyhands