Same problem here. I had to disable the plugin to get my site back live.
Sadly now I can’t tract my ads.
== Server Environment ==
Operating System: Linux
Software: LiteSpeed
MySQL version: MySQL Community Server – (GPL) v5.7.29
PHP Version: 7.3.17
== WordPress Environment ==
Version: 5.4.1
== Theme ==
Parent Theme Name: Astra
Parent Theme Version: 2.4.5
== Builder ==
Elementor – 2.9.11
Elementor Pro – 2.9.5
== Plugin ==
Current plugin: Pixel Caffeine (version 2.1.2)
Same for me. I can’t enter on my administration control panel, even if the plugin is disabled. The only form to avoid this error is deleting the plugin directory.
Fatal error: Declaration of PixelCaffeine\Logs\LogDBHandler::write(array $record) must be compatible with Monolog\Handler\AbstractProcessingHandler::write(array $record): void in /path/to/wp-content/plugins/pixel-caffeine/includes/admin/logs/class-log-db-handler.php on line 34
WP version: 5.4.1
PHP version: 7.4.6
Besides, I tried to install old pixel caffeine versions without success (the same fatal error). This problem begans to happen after a plugins update, but I’m sorry that I don’t remmember what plugins has been updated.
I Have the same problem
WordPress version 5.4.1
Current theme: Avada Child (version 1.0.0)
Current plugin: Pixel Caffeine (version 2.1.2)
PHP version 7.3.13
same problem, but i manage to replace all updated addons with older version and checked 1 by 1 which one causes the problem.
its WP-Optimize https://ww.wp.xz.cn/plugins/wp-optimize/
After updating WP-Otimize to v3.1.1 u get error:
Fatal error: Declaration of PixelCaffeine\Logs\LogDBHandler::write(array $record) must be compatible with Monolog\Handler\AbstractProcessingHandler::write(array $record): void in /wp-content/plugins/pixel-caffeine/includes/admin/logs/class-log-db-handler.php on line 10
there is also a topic in wp-optimize
-
This reply was modified 6 years ago by
dynamic22.
Hi all,
thanks @dynamic22 for the debug and sharing that this is caused by the upgrade of WP-Optimize!
I’ll try to find a solution I hope within tomorrow and send here an alpha version that will fix this fatal error. Sorry for the waiting, I hope to give a fix within the next 24/48 hours.
Thanks for the patience.
Thanks @antoscarface I’ll be waiting for a update the pixel caffeine plugin.
Hello!
Same to me – hard crush :/ But my WP describe problem – I’ve got screen. Antonio, please send me Your e-mail address – I will send You .jpegs about problem.
Best greetings
Tom
After the last WP-Optimize plugin update, it works:
Wp-Optimize 3.1.2 – 03/Jun/2020
TWEAK: Only load minify dependencies when the feature is enabled, reducing the risk of conflicts with plugins with obsolete/incompatible library versions.
Anyway, the definitive bug solution to avoid future problems is in the hands of the pixel caffeine developers.
Thanks to both, WP-Optimize and Pixel Caffeine developers.
-
This reply was modified 6 years ago by
javibus.
Hi everybody,
the new version 2.1.3 with the fix is live 🙂
Happy to read that WP Optimize had fixed on their own, but anyway this should fix also for the version with the conflict.
Please, upgrade your Pixel Caffeine to 2.1.3 and you should fix your problem.
Please, let me know if it’s solved for you as well in order to set the topic as resolved.
Thanks!
Everything is OK in my websites.
Thanks!
-
This reply was modified 6 years ago by
javibus.