Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1285094
    Nilesh L
    Participant

    x-email-mailchimp – How to fix the warnings and notices

    [07-Dec-2016 20:59:08 UTC] PHP Warning:  array_merge(): Argument #1 is not an array in /var/www/html/wp-content/plugins/x-email-mailchimp/email-integration/functions/framework/plugin-base.php on line 176
    [07-Dec-2016 20:59:08 UTC] PHP Warning:  $data should be an array. in /var/www/html/wp-content/plugins/x-email-mailchimp/email-integration/functions/framework/view-handler.php on line 113
    [07-Dec-2016 20:59:08 UTC] PHP Notice:  Undefined variable: plugin_title in /var/www/html/wp-content/plugins/x-email-mailchimp/email-integration/functions/enqueue/site/scripts.php on line 19
    [07-Dec-2016 20:59:08 UTC] PHP Notice:  Undefined variable: plugin_url in /var/www/html/wp-content/plugins/x-email-mailchimp/email-integration/functions/enqueue/site/scripts.php on line 19
    [07-Dec-2016 20:59:08 UTC] PHP Notice:  Undefined variable: plugin_title in /var/www/html/wp-content/plugins/x-email-mailchimp/email-integration/functions/enqueue/site/scripts.php on line 21
    [07-Dec-2016 20:59:08 UTC] PHP Warning:  array_merge(): Argument #1 is not an array in /var/www/html/wp-content/plugins/x-email-mailchimp/email-integration/functions/framework/plugin-base.php on line 176
    [07-Dec-2016 20:59:08 UTC] PHP Warning:  $data should be an array. in /var/www/html/wp-content/plugins/x-email-mailchimp/email-integration/functions/framework/view-handler.php on line 113
    #1285570
    Rupok
    Member

    Hi there,

    Thanks for writing in! Those are just notices and should be gone if you disable WP_DEBUG mode.

    You can do this by opening wp-config.php and updating :

    define( 'WP_DEBUG' , true );

    to

    define('WP_DEBUG', false);

    Hope this helps.

    Cheers!

    #1285631
    Nilesh L
    Participant

    3 are notices but 4 are warnings. Please consider a code cleanup.

    #1285730
    Paul R
    Moderator

    Hi,

    Can you confirm that you are fully updated? (Theme and Plugins)

    You can find the latest version numbers here: (https://community.theme.co/kb/version-compatibility/) Then you can compare them to what’s installed on your site.

    If you find anything to be out of date, you can review our update guide.

    Don’t forget to review the changelog as well

    https://theme.co/changelog/

    #1286401
    Nilesh L
    Participant

    Yes X and all add-ons and plugins are up to date. I did not take WP 4.7 in production yet but that is unrelated to this topic.

    #1286709
    Rad
    Moderator

    Hi there,

    Notices and warning aren’t errors, and normal. Especially the environment and configuration is something different from expected. Though, it may cause issues in some case, what’s the issue or problem you’re getting due to this notices and warning? This is normal when debugging is enabled. And even without any error, it can be trigger by custom or user error which intended feature for debugging.

    I’ll forward your request for clean up, but it’s unavoidable for every changing standards and Web is built for multiple standards.

    If these notices and warning causes issues within your site, then let us know your admin and FTP login credentials for further checking.

    Thanks!

    #1286722
    Nilesh L
    Participant

    Hi Rad:

    This issue is not critical. By the way, you have already have access to our staging area via a private post in another thread about WordPress 4.7.

    #1286724
    Nilesh L
    Participant

    You can close this issue because it is academic in nature.

    By the way the other post is https://community.theme.co/forums/topic/update-post-returns-blank-page-after-updating-wordpress-to-4-7/ where you will find a private post with info to access our staging area.

    #1287006
    Rad
    Moderator

    Hi there,

    Let’s discuss it on that thread 🙂 , though, I already checked it and I don’t see any issue at all.

    Thanks!

  • <script> jQuery(function($){ $("#no-reply-1285094 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>