Hello Plugin Team!
Your plugin is throwing a PHP warning on WordPress 6.6.2, PHP 8.3 and the plugin version 2.0.7. Website is hosted on Kinsta. Here are the details:
2024/10/24 08:40:17 [error] 4177#4177: *157743 FastCGI sent in stderr: "PHP message: PHP Deprecated: Automatic conversion of false to array is deprecated in /www/<REDACTED>/public/wp-content/plugins/siteimprove/admin/class-siteimprove-admin.php on line 301"
Let me know if you need any more info.
]]>This plugin has been closed as of March 7, 2024.
Any updates on if and when this plugin will be available again?
There has been a bugfix on github: https://github.com/Siteimprove/CMS-plugin-Wordpress can we use this in the meantime?
]]>I’m debugging a site I’m working on, and the debug log is filling with this error message:
PHP Warning: Undefined array key “si_preview” in /html/wp-content/plugins/siteimprove/includes/class-siteimprove.php on line 148
Looking at that line of code, there’s something nonsensical about the conditional:
if ( isset( $_GET['si_preview'] ) || '1' === $_GET['si_preview'] ) {
It doesn’t make sense to have an “or” ||
here; the second condition cannot possibly evaluate to true unless the first condition does. Using ||
eliminates the purpose of the first condition, which is to avoid having the second condition trigger the PHP warning.
I am assuming this should be an “and” &&
instead.
We presently have a few plugins installed that I believe affect the page tree, primarily Nested Pages and Press Permit. When activating the SiteImprove plugin it stops all the Javascript in the Nested Pages view. Safari’s console shows “InvalidAccessError” originating in a anonymous function in siteimprove.js line 70.
]]>