Thread Starter
mada99
(@mada99)
I have to restore from Backup
Hi there,
Was WP-Optimize the only thing you updated?
The error seems unrelated.
Marc.
Thread Starter
mada99
(@mada99)
yes, it was. WPO 3.0.19 worked fine
I can reproduce it. I tried it now two times.
It looks like an incompatibility with Matomo
-
This reply was modified 4 years, 8 months ago by
mada99.
-
This reply was modified 4 years, 8 months ago by
mada99.
Thanks. Is there any other errors in your PHP error log?
I’m not familiar with Matomo. Are you using their plugin (https://wordpress.org/plugins/matomo/), or the manual install?
Marc.
Thread Starter
mada99
(@mada99)
I’m using a manual installation in combination with the Matomo Plugin
https://de.wordpress.org/plugins/wp-piwik/
The PHP-Log don’t show additional errors, only a lot of the same kind like in my first posting.
Thanks.
It appears that both Matomo and the latest version of WP-Optimize use the library Monolog, but different incompatible versions. We’ll look into how to fix this.
For the installation in /var/www/vhosts/mysite/httpdocs/piwik/ – is it up-to-date? It may be that bringing it up to date will mean that both projects then expect the same, current version.
Thread Starter
mada99
(@mada99)
Hi David,
my system information:
Matomo-Version: 3.13.5
MySQL-Version: 10.1.44-MariaDB-0+deb9u1
PHP-Version: 7.3.18
Matomo is the latest one: https://matomo.org/changelog/
-
This reply was modified 4 years, 8 months ago by
mada99.
Hello, my website also crashed after update WP-Optimize 3.1.1
conflict with pixel cafeine plugin https://wordpress.org/plugins/pixel-caffeine/
I updated only your plugin
When i remove the your plugin, my website back work
Fatal error: Declaration of PixelCaffeine\Logs\LogDBHandler::write(array $record) must be compatible with Monolog\Handler\AbstractProcessingHandler::write(array $record): void in /var/www/vhosts/xxxx/httpdocs/wp-content/plugins/pixel-caffeine/includes/admin/logs/class-log-db-handler.php on line 10
Sorry my bad English π
-
This reply was modified 4 years, 8 months ago by
Gabriel.
After updating WP-Optimize from Version 3.0.19 to Version 3.1.0, yesterday, and then, today, to Version 3.1.1, I got the following error, which broke my site:
Parse error: syntax error, unexpected ‘const’ (T_CONST), expecting variable (T_VARIABLE) in /home3/fotpbiz/public_html/selfhelpnirvana.com/wp-content/plugins/wp-optimize/vendor/monolog/monolog/src/Monolog/Logger.php on line 33
This is the only plug-in I’ve updated these past two days, nor have I installed any new plug-ins recently.
Deleting the plug-in and reinstalling v3.0.19 fixes the problem.
I’m running v5.4.1 of WordPress on a PHP 5.6.30 platform.
same problem here conflict whit pixel caffiene
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
https://wordpress.org/support/topic/pixel-caffeine-causing-fatal-error/#post-12933271
For Pixel Caffeine users, the author has said that he is releasing a version to fix the problem (on a quick look, it looks like that plugin carries a 2.5 year-old version of the library, which conflicts with more up-to-date versions). https://wordpress.org/support/topic/pixel-caffeine-causing-fatal-error/#post-12933309
Thanks @davidanderson, I’ll be waiting for a update the pixel caffeine plugin.
Thread Starter
mada99
(@mada99)
WPO 3.12. seems to have been released. Does it fix the problem with Matomo/Monolog-Handle?
@mada99 Yes, this should fix the issue when using WP-Optimize as you were previously.
Enabling the newly added “minify” feature will still cause an issue with Matomo at the moment, but we’re looking at that.
Marc.