-
AuthorPosts
-
September 5, 2016 at 3:44 am #681892
Hi,
I keep getting some php warning in my log file:
1. “PHP Warning: Invalid argument supplied for foreach() in /{SERVER_PATH}/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/shortcode-helper.class.php on line 221”
2. “PHP Warning: Illegal string offset ‘tag’ in /{SERVER_PATH}/wp-content/themes/enfold-child/template-builder.php on line 41
3. “PHP Warning: end() expects parameter 1 to be array, string given in /{SERVER_PATH}/wp-content/themes/enfold-child/template-builder.php on line 40”The warning make my log file growing fast. Although I can disable the warning, I think it is better to fix it. Do you have any idea on how to fix it?
PS: I didn’t update enfold to the latest version as it looks like have some conflict with some plugin. I want to see if it can be fixed without updating the theme to the latest version.
Thanks,
Alex-
This topic was modified 9 years, 2 months ago by
boscotwcheung.
September 6, 2016 at 10:48 am #682530any news?
September 7, 2016 at 3:15 pm #683188Hi,
what problems are the warning causing for you? I think you can simply disable the warnings. Switch it off, as it’s not of any importance concerning performance or anything else.
Best regards,
AndySeptember 28, 2016 at 11:10 am #692558I dont want to disable the php warning as it helps me to do some debugging and monitoring. However, the log file getting big really fast. It increased around 30MB per days and make me hard to see the actual error it has. I would like to fix it if possible. Any idea on what’s happened?
I moved it to another server. Let me know if you need any login.
September 30, 2016 at 1:12 pm #693684Hi,
it won’t be easily possible unfortunately. I would try a different debug approach. Maybe a plugin is out there for you with such a function.
Best regards,
Andy -
This topic was modified 9 years, 2 months ago by
-
AuthorPosts
- You must be logged in to reply to this topic.
