Errors after upgrading to WP5.3
-
I’ve been having the same issue as described in this post, using WP5.3.
After activating the plugin, I get errors in the dashboard (thrown out right after the body tag):
Notice: Undefined index: dk_speakout in /var/www/wordpress/wp-admin/includes/plugin.php on line 1392
and
Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/wordpress/wp-admin/includes/plugin.php on line 1392
In addition, when activating the plugin (on the “Installed Plugins” page), I see an error box (rendered as a div with class
error
) with the content:
The plugin generated 411 characters of unexpected output during activation. If you notice “headers already sent” messages, problems with syndication feeds or other issues, try deactivating or removing this plugin.
When opening a page with a petition shortcode on it, the following 4 errors are thrown and shown:
Notice: wpdb::prepare was called incorrectly. The query argument of wpdb::prepare() must have a placeholder. Please see Debugging in WordPress for more information. (This message was added in version 3.9.0.) in /var/www/wordpress/wp-includes/functions.php on line 4903
Notice: wpdb::prepare was called incorrectly. The query does not contain the correct number of placeholders (0) for the number of arguments passed (1). Please see Debugging in WordPress for more information. (This message was added in version 4.8.3.) in /var/www/wordpress/wp-includes/functions.php on line 4903
Notice: wpdb::prepare was called incorrectly. The query argument of wpdb::prepare() must have a placeholder. Please see Debugging in WordPress for more information. (This message was added in version 3.9.0.) in /var/www/wordpress/wp-includes/functions.php on line 4903
Notice: wpdb::prepare was called incorrectly. The query does not contain the correct number of placeholders (0) for the number of arguments passed (1). Please see Debugging in WordPress for more information. (This message was added in version 4.8.3.) in /var/www/wordpress/wp-includes/functions.php on line 4903
The petition itself is shown and seems to work, though… This goes for the admin interface as well, I can see the submenu, can use the plugin, and all, but get these error messages.
Again, when deactivating this (and only this) plugin, all works fine.I’m running this on a test / experiment site (with full access to the server), so can do just about anything to help with figuring this out. (I’m an experienced developer and know my way around a server; not a WP/PHP developer, though ??)
I’m running WP5.3 (latest at the time of writing) on Ubuntu Linux (18.04.3), with these plugins (all up to date versions):
- Code Snippets
- Contact Form 7
- SpeakOut! Email Petitions (obviously ??)
- The topic ‘Errors after upgrading to WP5.3’ is closed to new replies.