#81028 Repeated PHP warning for social.php file

Landing Forums Jupiter WordPress Theme Repeated PHP warning for social.php file

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • Eloise

    Hi:  We have been getting repeated PHP warnings for the following:

     
    <p class=”p1″>PHP Warning:  Invalid argument supplied for foreach() in /XXX/client_sites/XXXX/wp-content/themes/jupiter/views/header/global/social.php on line 70</p>
    Though it is just a warning, it is creating a massive error_log for us so I wanted to bring it to your attention.

    we are on version 6.7 running PHP 7.3.21 on AWS EC2 server.

     

    Thanks and appreciate the help.

    Amir Rather Support Team

    This is just a warning, try adding the below lines to the wp-config.php file in your website root,

    ini_set('log_errors','On');
    ini_set('display_errors','Off');
    ini_set('error_reporting', E_ALL );
    define('WP_DEBUG', false);
    define('WP_DEBUG_LOG', true);
    define('WP_DEBUG_DISPLAY', false);

    Looking forward to your feedback 🙂

Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login