• This topic has 9 replies, 3 voices, and was last updated 10 years ago by Kim.
Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #43273
    Gary
    Participant

    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-Coffman

    #43274
    Gary
    Participant

    Problem solved; debug code change.

    #43276
    Sakin
    Keymaster

    @Gary: It’s strange which code did you change it.

    #43292
    Gary
    Participant

    WP-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?

    #43293
    Sakin
    Keymaster

    @Gary: We don’t have register_uninstall_hook. So, are you using child theme and added that hook?

    #43295
    Gary
    Participant

    no 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

    #43296
    Sakin
    Keymaster

    @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.

    #46550
    Kim
    Participant

    I 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.com

    thank you!!!!!!!!!!!

    #46564
    Sakin
    Keymaster

    @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”

    #46682
    Kim
    Participant

    Thanks! Done.

Viewing 10 posts - 1 through 10 (of 10 total)
  • The topic ‘Notice after update to v.3.2’ is closed to new replies.