- This topic has 14 replies, 2 voices, and was last updated 5 years, 11 months ago by Tom.
October 30, 2014 at 8:45 am #42811berry
I’ve just installed generatepress 1.2.2 on wordpress 4.0 and receive the following errors:
Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/xxxxx/public_html/mysite.com/wp/wp-content/themes/generatepress/inc/sanitize.php on line 75
Warning: in_array() expects parameter 2 to be array, null given in /home/xxxxx/public_html/mysite.com/wp/wp-content/themes/generatepress/inc/sanitize.php on line 77
I’m not knowledgeable enough about php to make a correction.October 30, 2014 at 11:03 am #42831TomLead DeveloperLead Developer
Thanks for reporting these warnings.
What page are you on when you see this error?
Can you confirm that it’s still there?
Thanks!October 30, 2014 at 11:25 am #42834berry
I’ve just installed wordpress 4.0 and installed the generatepress theme.
In admin, I select “appearance” -> customize and the errors appear at the top of the page.
The errors are not on the regular site page. Of course I haven’t done anything to it yet 😉October 30, 2014 at 11:32 am #42835TomLead DeveloperLead Developer
And when you refresh, the warnings stay there?
What’s happening is the list of Google Fonts needs to be put into the database, and then is checked.
This warning would happen if the list of GF haven’t been put into the database yet.
Let me know 🙂October 30, 2014 at 12:04 pm #42838berry
When the “appearance” -> customize page begins to load there is an error regarding fonts which is quickly overlaid by the warning I posted above. Try as I may, I’m unable to obtain the content of the fonts error message.
I also installed this theme on a working site utilizing wordpress 3.9 and obtain the same result.
My simplish theme works fine but I receive font errors on loading (which I can’t obtain) and then the errors I posted above.
Back to simplish for now.
ThanksOctober 30, 2014 at 12:05 pm #42839berry
Regarding the post above – I receive the font errors after selecting the generatepress theme, not with simplex.October 30, 2014 at 12:06 pm #42840TomLead DeveloperLead Developer
Interesting – can you email me your URL, username and password to firstname.lastname@example.org so I can take a look? You can set up a quick temporary admin user if you’d like.
Let me know 🙂October 30, 2014 at 12:15 pm #42841berry
email sentOctober 31, 2014 at 10:19 pm #43238TomLead DeveloperLead DeveloperNovember 2, 2014 at 12:46 am #43459berry
Hosting service needed some changes on their end.
Seems to be resolved now.
Thanks for your great service.November 2, 2014 at 10:21 am #43572TomLead DeveloperLead DeveloperNovember 26, 2014 at 6:09 am #49210Darryl
I have having this same issue. What exactly do I need to direct my host to change on their end to resolve this?
DENovember 26, 2014 at 9:27 am #49265TomLead DeveloperLead Developer
Berry wasn’t specific, but it most likely has to do with the connection between your database and WordPress site. The list of fonts are populated into a transient in your database, and then output in the select boxes – the error above would only happen if nothing was added to the database in the first place.
If you’d like, you can email me a temp admin user and pass to email@example.com, and I can see if I can find out more for you.
Thanks!December 1, 2014 at 1:02 am #50113Darryl
I have sent you an email, please let me know if you discover anything.
DEDecember 10, 2014 at 1:49 pm #53653TomLead DeveloperLead Developer
Just a note on this.
While it was only happening on select servers, I found a fix that will stop this from happening anymore.
It will be included in the next version of GP, Typography and Premium.
- You must be logged in to reply to this topic.