• Resolved monica

    (@monilou)


    Starting a new thread because the moderator suggested it. My apologies because I am repeating myself but would Looove some help!

    I updated to WP4.5 and am getting this error:
    add_object_page is deprecated since version 4.5! Use add_menu_page() instead. in /nfs/c08/h06/mnt/116264/domains/savonsupplements.com/html/wp-includes/functions.php on line 3662

    Solutions I’ve tried:
    1) Installed WP 4.5 and got the error
    2) Manually updated the functions.php file replacing old file with the one from WP 4.5 and error message was still showing up
    3) Reinstalled WP 4.5
    3) deactivated all my plugins and still get the error message
    4) cleared the cache on browser
    5) Deactivated all plugins again but still getting the error message so activated them again

    I was thinking to just go back to the older version of WordPress since there were no problems with WP 4.4. All my plugins are updated.

    Any help would be very much appreciated! Hope I’ve been clear!

    Thanks,
    Monica

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator Samuel Wood (Otto)

    (@otto42)

    www.remarpro.com Admin

    @monica You’re getting that error for two reasons:

    1. You have the WP_DEBUG setting enabled. Check your wp-config.php file, and make sure you have WP_DEBUG defined as “false” and not “true”. You should not have DEBUG messages enabled on a live production site.

    2. Some piece of code you have, like a plugin or a theme, is using the “add_object_page” call. This function has been deprecated in WordPress 4.5, and your plugin or theme will need to be updated. Make sure you keep all your code up-to-date as authors push fixes out for the problem.

    Thread Starter monica

    (@monilou)

    It works!!! Thank you for the really great advice! I’m a newbie at this so am always questioning the whole process!

    All my plugins and theme are up to date but am squirmy about using plugins because it’s difficult to tell if authors keep updating their plugins. If you have a suggestion about websites with plugins my trusted authors, I would love to know and am open to suggestions!

    Again I really appreciate the help and the very fast response from Otto, the Tech Dude!

    Monica

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘I am getting errors when I updated to WP 4.5’ is closed to new replies.