Navigation
This is archived content. Visit our new forum.
  • Author
    Posts
  • #117918

    Atahualpa S
    Participant

    Hi,

    whenever i am in the customizer i get this error message at the very top of the page.

    “Warning: Invalid argument supplied for foreach() in /www/htdocs/w011aefd/wp-includes/class-wp-customize-widgets.php on line 498”

    Could you help me resolve this please.
    I don’t have any problems yet, but it is anoying to know that the theme is not working flawless.
    I have the x theme on another subdomain but it is not show there.
    I just updated the theme on the main site and already installed wordpress via ftp again. No change.
    The Warning stays.

    Thank you so much in advance for your support.

    PS: Your theme is the bomb!!!

    all Plugins, theme, and wordpress is up to date.

    EDIT:

    This is what it says in the php:

    // Add a control for each active widget (located in a sidebar).
    foreach ( $sidebar_widget_ids as $i => $widget_id ) {

    // Skip widgets that may have gone away due to a plugin being deactivated.
    if ( ! $is_active_sidebar || ! isset( $GLOBALS[‘wp_registered_widgets’][$widget_id] ) ) {
    continue;
    }

    #117965

    Paul R
    Moderator

    Hi,

    You could try testing for a plugin conflict. You can do this by deactivating all third party plugins, and seeing if the problem remains. If it’s fixed, you’ll know a plugin caused the problem, and you can narrow down which one by reactivating them one at a time.

    #120706

    AtahualpaSeyffert
    Participant

    Hi,

    different name but still me 🙂 I bought another license for my pending project.

    I deactivated all plugins but still get the same error message. I would send you a screenshot, but i don’t know how.

    #121003

    Christian
    Moderator

    Hey there,

    You can upload your screenshot online to an image host or you can use something like https://app.prntscr.com/en/index.html and post the URL of the screenshot here.

    Thanks.

    #122184

    AtahualpaSeyffert
    Participant

    Hi, Ok,
    here is a Screenshot.
    But now i have a new Problem. And i didn’t even change anything. I think. Except of updating Plugins and the theme.

    I have a major problem with the customizer.
    Not only did i deactivate all plugins and the error still exists. Today i wanted to make a few changes in the customizer.
    But the Masthead Slider is humungus!!! i have to scroll down for quite a bit to get to the menu. The frontend of the site is fine. its just the customizer.

    Here are some screenshots and the url to the frontend: http://heidelberger-schloss-gastronomie.de.w011aefd.kasserver.com/

    PIC1: http://pl.vc/pbjh
    PIC2: http://pl.vc/3d1tn

    #122488

    Zeshan
    Member

    Hi there,

    Would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:

    – Link to your site
    – WordPress Admin username / password
    – FTP credentials

    Don’t forget to select Set as private reply. This ensures your information is only visible to our staff.

    Thanks!

    #122597

    AtahualpaSeyffert
    Participant
    This reply has been marked as private.
    #122600

    AtahualpaSeyffert
    Participant
    This reply has been marked as private.
    #122978

    Paul R
    Moderator

    Hi,

    Your link heidelberger-schloss-gastronomie.de.w011aefd.kasserver.com/wp-admin/
    doesn’t seem to work.

    Can you provide us the login url.

    Thanks

    #123092

    AtahualpaSeyffert
    Participant
    This reply has been marked as private.
    #123095

    AtahualpaSeyffert
    Participant

    Oh and i found out another thing:

    The problem with the huge masthead slider is just in chrome. I deacivated all chrome addons but the problem still persists.
    When i am using the internet explorer it works just fine. But the “Warning: Invalid argument supplied for foreach() in /www/htdocs/w011aefd/wp-includes/class-wp-customize-widgets.php on line 498″ is still present.

    #123112

    AtahualpaSeyffert
    Participant

    And i figured out that it is the Fulscreen – Option inside the Revolution Slider Plugin.
    If i turn my Masthead Slider to AutoResponsive, the site looks normal in the Customizer.
    So for now i know this workaround. But maybe you can fix this problem somehow. I would prefer to work on my site in google chrome.

    #123339

    Rad
    Moderator

    Hi there,

    Fixed now 🙂

    Cheers!

    #123367

    AtahualpaSeyffert
    Participant

    THANK YOU!!!!! You ARE TRULY THE BEST!!!

    May i ask what the problem was? What did i do?

    #123656

    Rad
    Moderator

    Hi there,

    Warning and notices are not error, and it use for debugging purposes. It can be disabled by adding :

    define('WP_DEBUG', false);

    The problem is your current installation ignore it. Instead, I override error reporting from your wp-config.php.

    Cheers!