Invalid argument theme.php

resolved (3 posts) (2 voices)

  1. cat que
    Member

    Hi,

    For some reason I starting having this message on Firefox and Mobile Chrome in the header but not in Google Chrome desktop version

    Warning: Invalid argument supplied for foreach() in C:\inetpub\wwwroot\DOJOSEKAI.COM\wp-content\themes\infocus\lib\functions\theme.php on line 683

    Any idea where I should start looking to fix this. WP 3.6.1 and Infocus 3.2

    Posted 4 years ago #
  2. Hi!

    Add this in the end of the first line of your functions.php file:
    error_reporting(0);

    -roch

    Posted 4 years ago #
  3. cat que
    Member

    Thanks Rochester for the quick reply but for some mysterious reason this morning when I looked back at the web site, the Warning had disappeared. This is scary! I don't like it but I'll take it for now.

    Nonetheless I'll keep your solution in mind in case it ever happens again.

    Kind regards

    Posted 4 years ago #

Reply

You must log in to post.

Construct WordPress Theme
Construct wordpress theme
Myriad WordPress Theme
Myriad wordpress theme
Method WordPress Theme
Method wordpress theme
Fusion WordPress Theme
Fusion wordpress theme
Elegance WordPress Theme
Elegance wordpress theme
Echelon WordPress Theme
Echelon wordpress theme
Dejavu WordPress Theme
Dejavu wordpress theme
Modular WordPress Theme
Modular wordpress theme