• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
Appfinite

Appfinite

Premium WordPress Themes for The Genesis Framework

  • Themes
  • Blog
  • Tutorials and Resources
  • Forums
  • Contact Us

PHP Notice in Customizer

Home › Community Forums › Aspire Theme Support › PHP Notice in Customizer

  • This topic has 6 replies, 3 voices, and was last updated 4 years, 1 month ago by Rob.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • April 11, 2018 at 10:27 am #22579
    brian3
    Customer

    When I installed Aspire Pro, visited the Customizer, I was greeted with many PHP messages:
    https://3cd.co/2a2T3W0F3g02

    Related to using “add_tab” in the customize.php file (lines 52, 53, 56)

    Apparently the function is deprecated. Using Aspire version 1.2

    Full stack trace:

    [10-Apr-2018 16:27:13 UTC] PHP Notice: WP_Customize_Image_Control::add_tab is deprecated since version 4.1.0 with no alternative available. in /wp-includes/functions.php on line 3842
    [10-Apr-2018 16:27:13 UTC] PHP Stack trace:
    [10-Apr-2018 16:27:13 UTC] PHP 1. {main}() /wp-admin/customize.php:0
    [10-Apr-2018 16:27:13 UTC] PHP 2. require_once() /wp-admin/customize.php:13
    [10-Apr-2018 16:27:13 UTC] PHP 3. require_once() /wp-admin/admin.php:31
    [10-Apr-2018 16:27:13 UTC] PHP 4. require_once() /wp-load.php:42
    [10-Apr-2018 16:27:13 UTC] PHP 5. require_once() -config.php:9
    [10-Apr-2018 16:27:13 UTC] PHP 6. do_action() /wp-settings.php:471
    [10-Apr-2018 16:27:13 UTC] PHP 7. WP_Hook->do_action() /wp-includes/plugin.php:453
    [10-Apr-2018 16:27:13 UTC] PHP 8. WP_Hook->apply_filters() /wp-includes/class-wp-hook.php:310
    [10-Apr-2018 16:27:13 UTC] PHP 9. WP_Customize_Manager->wp_loaded() /wp-includes/class-wp-hook.php:286
    [10-Apr-2018 16:27:13 UTC] PHP 10. do_action() /wp-includes/class-wp-customize-manager.php:926
    [10-Apr-2018 16:27:13 UTC] PHP 11. WP_Hook->do_action() /wp-includes/plugin.php:453
    [10-Apr-2018 16:27:13 UTC] PHP 12. WP_Hook->apply_filters() /wp-includes/class-wp-hook.php:310
    [10-Apr-2018 16:27:13 UTC] PHP 13. aspire_customizer_register() /wp-includes/class-wp-hook.php:286
    [10-Apr-2018 16:27:13 UTC] PHP 14. Child_Aspire_Image_Control->__construct() /wp-content/themes/aspire-pro/lib/customize.php:93
    [10-Apr-2018 16:27:13 UTC] PHP 15. WP_Customize_Image_Control->add_tab() /wp-content/themes/aspire-pro/lib/customize.php:52
    [10-Apr-2018 16:27:13 UTC] PHP 16. _deprecated_function() /wp-includes/customize/class-wp-customize-image-control.php:36
    [10-Apr-2018 16:27:13 UTC] PHP 17. trigger_error() /wp-includes/functions.php:3842

    April 11, 2018 at 5:55 pm #22581
    Wes
    Moderator

    Wow, not sure why that happened. Fortunately, I’m already in the process of updating a couple files inside this theme and a few others as well.

    The Customizer.php and the Output.php files are one of the few being updated to the latest WP standards. Although I am surprised that error popped up for you, as it hasn’t shown up for me on any of the sites I have it installed on.

    Are you running the latest version of WordPress and the Genesis Framework? Do you have any other plugins active at the moment? Even though this file is being updated, I was just curious to see if there’s something conflicting with it. If you want me to login and take a quick look just let me know.

    I plan to have the updates ready this week. They’ll be applied to this theme (Aspire) and a few others as well.

    April 13, 2018 at 6:22 pm #22586
    Wes
    Moderator

    Didn’t know if you saw my recent reply, but I have an update ready that I wanted to see if you can test on your end.

    Just let me know.

    October 31, 2018 at 3:35 pm #22865
    Rob
    Customer

    I’m getting this same error Wes. Elevate theme

    November 19, 2018 at 5:16 pm #22911
    Rob
    Customer

    Wes?

    I’m still getting this error as well.

    December 2, 2018 at 4:40 am #22946
    Wes
    Moderator

    @Rob which version are you running?

    December 3, 2018 at 6:01 pm #22953
    Rob
    Customer

    Elevate 1.0.0.

    Just checked and that’s the latest version available for download it seems.

  • Author
    Posts
Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.
Log In

Primary Sidebar

Search Forums

Affiliate Program

Looking to earn some money? Join our Affiliate program and earn 35% of every sale you refer. Top referrers earn 40-50%.

Join Now →

The Genesis Framework

All of our themes are designed for the Genesis Framework. You will need to purchase Genesis in order to use any of our themes.

Purchase Genesis

Hire a Web Developer

Need help setting up or customizing your website?

Contact Us →

Search Full Site

  • Buy Genesis!
  • Shopping Cart
  • Themes
  • My Account
  • Support Forums
  • Tutorials and Resources
  • Privacy Policy
  • Contact Us
  • Follow Us on Twitter

Copyright © 2023 · Appfinite · Built With The Genesis Framework