I have made no changes to my site and today, when I visit (without being logged in to the dashboard) this message is in the header on every page:
<b>Warning</b>: Invalid argument supplied for foreach() in <b>/home/MYUSERNAME/public_html/wp-content/plugins/unyson/framework/helpers/general.php</b> on line <b>1258</b>
How can I fix the issue and get rid of the message.
Also, all of my fonts have disappeared and been replaced with what looks like Times New Roman.
When I go to the “Styling” tab in theme options, there are no options, the page is just blank.
How do I get the fonts back that were there before?
Sorry to hear of the problem you are having.
Please make sure you are using below latest version of theme.
Please login to access this file
Also this seems causing by new Unyson plugin update so please make sure to use latest version of Unyson plugin and update its extensions as described in the following topic.
Thank you for your reply.
I updated to the latest version of the theme and unyson two days ago.
I made a number of changes on the site with the updates and everything was fine, I logged a ticket reply saying so.
Two days later I come back to it and this has happened with no further changes having been made.
Therefore, I don’t see how it can be anything to do with the latest versions of either.
I have also followed the instructions given in the link in Hankao’s post:
And it has not worked – the fonts are still not working and the error message is still there.
Solution for this topic
Could you please try using the solution provided below?