Warning: Invalid argument supplied for foreach()
This support request was posted in Paeon by EstherMols
- EstherMols August 20, 2017 at 12:59 pm
Hi Paeon Team, suddenly I get this message on all pages:
Warning: Invalid argument supplied for foreach() in /home/woewin/public_html/wp-content/themes/paeon/includes/theming/typography.php on line 105I looked everywhere but cannot seem to find the solution. Can you guys help me?
Kind regards, EstherJuanfra Aldasoro August 20, 2017 at 5:34 pmHi Esther,
Thanks for writing. I hope you are doing well.
Would you please tell me what version of the theme and framework are you currently using?
Thank you,
JuanEstherMols August 28, 2017 at 6:46 amI am sorry that I only react now! I was waiting for an email to come in but then checked and saw that you already answered! I use Version 1.1.8. of Paeon. But I am not sure where I can find wich framework version I use. I guess an actual one?
I noticed that when I uncheck “Enable if you want to pick your fonts.” in the theme options, the messages are gone. But then I am not able to use the Google fonts…
Thanks!
Esther
Juanfra Aldasoro August 29, 2017 at 4:41 pmHi Esther,
Sorry for the delayed response. It seems that my original response was not posted.
I couldn’t log in with the access details you have shared with me. Would you please send these again in a private reply so I can take a look?
Thank you very much.
Juan.Juanfra Aldasoro August 30, 2017 at 9:41 amHi Esther,
Thanks for the follow-up and thanks for sharing the access details with me.
You can check the framework version by going to the system status page. The link to that page is listed in the footer of the theme options panel.
I’ve visited your site and I could see that you are now using the latest framework version and that the messages are not there anymore. Are you still seeing them anywhere?
Thank you,
Juan.EstherMols August 30, 2017 at 10:08 amIf I uncheck “Enable if you want to pick your fonts.” in the theme options, the warning is gone. But then I am not able to control my fonts anymore…
Juanfra Aldasoro August 30, 2017 at 10:22 amHi Esther,
Thanks for the follow-up.
You are right, after checking the number of the theme version I realized you are not using the latest version (1.1.9), which actually brings compatibility to the latest framework version. After you update the theme to its latest version the problem should be gone.
Best,
Juan.EstherMols August 30, 2017 at 1:01 pmBut it says “You are running Paeon 1.1.8 You have the latest version.” ? under Support & Updates under Nice Themes.
Where can I find this update then?Juanfra Aldasoro August 30, 2017 at 4:23 pmHi,
Thanks for the follow-up.
Then, your WordPress might have a cached version number in a transient or something similar. You can try downloading the latest theme on your NiceThemes Dashboard here: https://nicethemes.com/dashboard/
Best,
Juan.EstherMols August 30, 2017 at 6:10 pmI installed the new version but I still have the same problems.
Juanfra Aldasoro August 31, 2017 at 5:37 pmHi Esther,
Thanks for the follow-up.
Would you please download the following file: https://gist.github.com/juanfra/79cfa7d0960b57ac0322eb703c6b2bcb
And replace the one you currently have in /wp-content/themes/paeon/includes/theming/typography.php with this new one?
Best,
Juan.
This topic is marked as resolved
Only the topic author can re-open this thread.