- This topic has 9 replies, 3 voices, and was last updated 9 years, 6 months ago by Kim.
-
AuthorPosts
-
September 2, 2014 at 7:56 am #43273GaryParticipant
I just updated to v. 3.2 Catch Box Pro and now have this:
Notice: wp_register_script 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. – /wp-includes/functions.php on line 3245
Switched back to 3.1 but Notice is still present.
Please advise.
Carter-CoffmanSeptember 2, 2014 at 8:05 am #43274GaryParticipantProblem solved; debug code change.
September 2, 2014 at 12:24 pm #43276September 2, 2014 at 9:30 pm #43292GaryParticipantWP-Config – define(‘WP_DEBUG’, false); it had been ‘true’ . This removed the notice from back-end and front-end of site.
[10-Jun-2014 16:31:24 UTC] PHP Notice: register_uninstall_hook was called incorrectly. Only a static class method or function can be used in an uninstall hook. Please see Debugging in WordPress for more information. (This message was added in version 3.1.) in wp-includes/functions.php on line 3245
I have checked the functions.php and no longer see this on line 3245.
I am going to try again to update to 3.2 today. I ran out of time last night to change all the site settings from 3.1 to 3.2.
Is there an easier way to upgrade without having to re-set each setting?September 2, 2014 at 10:50 pm #43293SakinKeymaster@Gary: We don’t have register_uninstall_hook. So, are you using child theme and added that hook?
September 2, 2014 at 11:05 pm #43295GaryParticipantno child and have not changed or added a hook.
Not sure what happened but the notice appeared after installing 3.2.
I also had problems with the ‘recommended’ Font plugin but this should not have related to the notice.I am going to investigate further with WordPress.org
September 2, 2014 at 11:08 pm #43296SakinKeymaster@Gary: I re-check in and I am 100% sure that we don’t have any function call
register_uninstall_hook
. Maybe some of your plugin are using that function.October 29, 2014 at 5:15 am #46550KimParticipantI have a question regarding this as well. I’ve tried to update it several times but I’m told that the ‘update package is not available’.
How can I perform this update?
Kim
hidemyage.comthank you!!!!!!!!!!!
October 29, 2014 at 11:00 am #46564SakinKeymaster@Kim: Please install plugin http://catchthemes.com/wp-plugins/catch-updater/ and follow the instruction there. After you activate the plugin, you need to download you theme from your account at http://catchthemes.com/my-account and upload it from “Themes => New Themes”
October 31, 2014 at 7:11 am #46682KimParticipantThanks! Done.
-
AuthorPosts
- The topic ‘Notice after update to v.3.2’ is closed to new replies.