Title: PHP warning on editor
Last modified: August 21, 2016

---

# PHP warning on editor

 *  Resolved [Zeokat](https://wordpress.org/support/users/zeokat/)
 * (@zeokat)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/php-warning-on-editor/)
 * I´m using Windows with XAMPP (PHP Version: 5.4.16 and Web Server: Apache).
    I
   tryed with FireFox and Chrome (latest versions), same error on both.
 * After install i go to the editor (plugin or theme) and one warning is showed 
   all the time:
    `Warning: array_merge(): Argument #2 is not an array in C:\xampp\
   htdocs\wp\wp-content\plugins\syntax-highlight\syntax-highlight.php on line 165`
 * And i think that the plugin not works as expected, because i hit Ctrl+S and appears
   the browser dialog to save and not save the edits.
 * Hope it can helps. Nice plugin.
 * [https://wordpress.org/plugins/syntax-highlight/](https://wordpress.org/plugins/syntax-highlight/)

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

 *  Plugin Author [lukasz.webmaster](https://wordpress.org/support/users/lukaszwebmaster/)
 * (@lukaszwebmaster)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/php-warning-on-editor/#post-4989523)
 * Hi Zeokat,
 * Thank you for the feedback.
 * As regards the warning, could you tell me what plugins you have activated? I 
   think Syntax Highlight may collide with another plugin.
 * As for the CTRL+S behavior, it works as intended. It saves on CTRL+S only when
   editor is focused. Otherwise, the default browser action is triggered.
 * Regards,
    Lukasz
 *  Thread Starter [Zeokat](https://wordpress.org/support/users/zeokat/)
 * (@zeokat)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/php-warning-on-editor/#post-4989536)
 * Akismet
    ContactForm7 Disqus Comment System Easy FancyBox Jetpack W3 Total Cache
   WordPress SEO by Yoast WP-PageNavi
 * I disabled all plugins and no luck. I´m using default wordpress themes.
 *  [Aimbox.com](https://wordpress.org/support/users/aimbox/)
 * (@aimbox)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/php-warning-on-editor/#post-4989537)
 * Did you try this plugin by itself on a clean WordPress install?
 *  Thread Starter [Zeokat](https://wordpress.org/support/users/zeokat/)
 * (@zeokat)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/php-warning-on-editor/#post-4989542)
 * I will do deeper tests the following days, will try in clean install aswell.
 *  Plugin Author [lukasz.webmaster](https://wordpress.org/support/users/lukaszwebmaster/)
 * (@lukaszwebmaster)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/php-warning-on-editor/#post-4989547)
 * Thanks for the information. So it is not a matter of a conflict with other plugins.
 * Thus, I look forward to further information. I am sure that we will find the 
   cause. Maybe you could provide me the admin access to your WordPress instance?
   I could also take a look then.
 *  Plugin Author [lukasz.webmaster](https://wordpress.org/support/users/lukaszwebmaster/)
 * (@lukaszwebmaster)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/php-warning-on-editor/#post-4989592)
 * Hi Zeokat,
 * I have investigated the issue and the problem was in obtaining the default settings,
   when there were no changes made in the Settings page. In the latest version (
   1.0.1) this issue has been resolved.
 * Please update to the latest version and, if it works fine now, I would be grateful,
   if you could express it on Syntax Highlight plugin page in the Compatibility 
   section at the bottom of the page.
 * Thanks again for noticing the issue.
 *  Thread Starter [Zeokat](https://wordpress.org/support/users/zeokat/)
 * (@zeokat)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/php-warning-on-editor/#post-4989594)
 * Good job Lukasz, the plugin now works very good. Thanks for fixing it.
 * Of course, i will mark as compatible.
 * Congratulations again for this great plugin!
 *  Plugin Author [lukasz.webmaster](https://wordpress.org/support/users/lukaszwebmaster/)
 * (@lukaszwebmaster)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/php-warning-on-editor/#post-4989611)
 * You are welcome! Thank you! I am happy that you liked it 🙂

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

The topic ‘PHP warning on editor’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/syntax-highlight.svg)
 * [Syntax Highlight](https://wordpress.org/plugins/syntax-highlight/)
 * [Support Threads](https://wordpress.org/support/plugin/syntax-highlight/)
 * [Active Topics](https://wordpress.org/support/plugin/syntax-highlight/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/syntax-highlight/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/syntax-highlight/reviews/)

 * 8 replies
 * 3 participants
 * Last reply from: [lukasz.webmaster](https://wordpress.org/support/users/lukaszwebmaster/)
 * Last activity: [11 years, 11 months ago](https://wordpress.org/support/topic/php-warning-on-editor/#post-4989611)
 * Status: resolved