Thread Starter
Julie
(@habannah)
Here is the debug info for one of my pages using Mobile Detect for images and galleries:
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.) in /wp-includes/functions.php on line 3370
Notice: add_custom_background is deprecated since version 3.4! Use add_theme_support( 'custom-background', $args ) instead. in /wp-includes/functions.php on line 3201
Notice: get_settings is deprecated since version 2.1! Use get_option() instead. in /wp-includes/functions.php on line 3201
I hope it can help you. Please let me know what else I can do to help figure this out. Thanks!
Thread Starter
Julie
(@habannah)
Hi again Eliot, just a little update that the problem is on all my sites using Mobile Detect, not just the one site as I originally thought…
Yes I’m also noticing this problem. Please help!
Thank you for letting me know – sorry about this! It was an unintended result of re-organizing the code – I fixed it in the latest update.
The PHP notices are not from CCS, it looks like they may be from the theme or another plugin which loads custom styles.
Thread Starter
Julie
(@habannah)
Thanks, Eliot! I updated on both sites and everything looks great now 🙂
I appreciate your patience. The last couple of “hiccups” in the plugin were related to the big update I did for 1.3.0, which involved most of the modules. Things should be stable now.
Thread Starter
Julie
(@habannah)
I completely understand, and since you’ve added so much in terms of functionality lately, it more than makes up for the small bumps 😉 Anyway, I can’t stress enough how much I appreciate simply being able to use your plugin, let alone the high quality of support you provide.