Title: Error message upon &#039;Customizing&#039;
Last modified: August 22, 2016

---

# Error message upon 'Customizing'

 *  Resolved [niicaux](https://wordpress.org/support/users/niicaux/)
 * (@niicaux)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/error-message-upon-customizing/)
 * Hey guys,
 * Can anyone help me out with a error message I keep getting every time I click
   on the “Customize” button under ‘Appearance’ in the admin panel.
    The following
   message pops up while the page is loading:
 * **Notice: Trying to get property of non-object in /[server path]/public_html/
   wp-content/themes/generatepress/inc/addons/typography/get-fonts.php on line 27**
 * Warning: Invalid argument supplied foreach() in /[server path]/public_html/wp-
   content/themes/generatepress/inc/addons/typography/get-fonts.php on line 42
 * Then the message on the browser changes to the following as shown below after
   the ‘customize’ section is opened:
 * **Warning: array_merge() [function.array-merge]: Argument #1 is not an array 
   in /[server path]/public_html/wp-content/themes/generatepress/inc/sanitize.php
   on line 75**
 * Warning: in_array() expects parameter 2 to be array, null given in /[server path]/
   public_html/wp-content/themes/generatepress/inc/sanitize.php on line 77
 * Please help me sort this.
 * Thank you.
 * Nick

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Theme Author [Tom](https://wordpress.org/support/users/edge22/)
 * (@edge22)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/error-message-upon-customizing/#post-5566221)
 * Hi Nick,
 * This is an error that’s been happening on some servers – I have a couple updated
   files I can provide you that will fix this until the new version of GP is approved.
 * I just emailed you the patched files which should solve this error.
 * Let me know if you have any questions 🙂
 *  Thread Starter [niicaux](https://wordpress.org/support/users/niicaux/)
 * (@niicaux)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/error-message-upon-customizing/#post-5566256)
 * Oh Tom man, you totally rock!
    Let me check my email and see what you have sent
   me and put it to use. Will update.
 *  Theme Author [Tom](https://wordpress.org/support/users/edge22/)
 * (@edge22)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/error-message-upon-customizing/#post-5566292)
 * Great, let me know 🙂

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Error message upon 'Customizing'’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/generatepress/3.6.1/screenshot.
   png)
 * GeneratePress
 * [Support Threads](https://wordpress.org/support/theme/generatepress/)
 * [Active Topics](https://wordpress.org/support/theme/generatepress/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/generatepress/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/generatepress/reviews/)

## Tags

 * [customization](https://wordpress.org/support/topic-tag/customization/)
 * [error message](https://wordpress.org/support/topic-tag/error-message/)

 * 3 replies
 * 2 participants
 * Last reply from: [Tom](https://wordpress.org/support/users/edge22/)
 * Last activity: [11 years, 5 months ago](https://wordpress.org/support/topic/error-message-upon-customizing/#post-5566292)
 * Status: resolved