Error messages when activating the plugin
-
Hi SG guys:
When I activate your plugin, I get these three notices and warning. They disappear, when I disable the plugin:
Notice: wp_register_style was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.) in /home/jonas345/public_html/wp-includes/functions.php on line 4136
Notice: wp_enqueue_style was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.) in /home/jonas345/public_html/wp-includes/functions.php on line 4136
Warning: Cannot modify header information – headers already sent by (output started at /home/jonas345/public_html/wp-includes/functions.php:4136) in /home/jonas345/public_html/wp-content/plugins/sg-cachepress/class-sg-cachepress.php on line 339
It seems to only happen in the plugin list view.
The notices/warnings may be related to this alertbox:
“SG CachePress: Your site https://jonas.dk is not cached! Make sure the Dynamic Cache is enabled in the SuperCacher tool in cPanel. Click here to hide this notice.”
It appears when even though the Dynamic Cache button is in fact active. But it seems to only appears after I reload the plugin-list page with the first mentioned warnings (which then on their part disappear).
It’s not a big thing, but a bit messy. So if it’s a bug in your plugin, it would be great if you could kill it in your next update. 😉
Otherwise, I’m really, really happy with your service and this plugin.
Oh, and here’s a list of all the active plugins:
Admin Bar Toggle, Admin Columns, Comet Cache, Contact Form 7 Honeypot, Contact Form 7, Disable Emojis, Display Posts Shortcode, Duplicate Post, Google Tag Manager for WordPress, Font Awesome 4 Menus, Genesis Shortcodes, Genesis Simple Edits, Genesis Simple Hooks, Genesis Simple Sidebars, Genesis Style Trump, Genesis Visual Hook Guide, Jetpack by WordPress.com, Post Type Switcher, Postman SMTP, Quick Page/Post Redirect Plugin, Regenerate Thumbnails, SG CachePress, Shortcake (Shortcode UI), Show Dimensions in Library, Simple Image Sizes, SiteOrigin CSS, Yoast SEO, Zendesk Chat Widget
- The topic ‘Error messages when activating the plugin’ is closed to new replies.