This is searchable archive of our old support forums, which operated from 2012 - 2016. To find out how to get support for your current theme, please visit our support page.

add_object_page is deprecated in admin area

  • Creator
    Topic
  • #25942
    Mary Makowsky
    Participant

    Hi Jason,

    I’m seeing an debug error in the admin area about a depricated function. Do you know about this?:

    Notice: add_object_page is deprecated since version 4.5! Use add_menu_page() instead. in /home/wma41861/public_html/wp-includes/functions.php on line 3658

Viewing 5 replies - 1 through 5 (of 5 total)
  • Author
    Replies
  • #25944
    Jason Bobich
    Keymaster

    Hi Mary,

    Do you have the latest version of the theme and all Theme Blvd plugins?

    #25945
    Mary Makowsky
    Participant

    Yes, they are all up to date. Now I’m thinking this is possibly being caused by another plugin? The line number in functions.php just has the code for showing the deprecation error. Does that sound like what is happening here?

    #25946
    Mary Makowsky
    Participant

    Actually, I installed a plugin to log deprecated calls and it says “Function: add_object_page() – Used in wp-content/plugins/theme-blvd-sliders/includes/admin/class-tb-sliders-admin.php on line 35.”

    #25947
    Jason Bobich
    Keymaster

    Aw, yeah this plugin is no longer being updated, and is no longer a recommended plugin for Jump Start starting in 2.0 (last year). I would recommend moving your sliders to use the features offered directly in Jump Start and the layout builder plugin.

    #25950
    Mary Makowsky
    Participant

    OK, I’ll let the client know they need to do that at some point.

    Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.