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
any news?
Hi,
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,
Andy
I 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.
Hi,
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