Title: Array Error
Last modified: August 22, 2016

---

# Array Error

 *  Resolved [jlbeveridge](https://wordpress.org/support/users/jlbeveridge/)
 * (@jlbeveridge)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/array-error-7/)
 * Hi I’m getting this error…
 * Warning: array_merge() [function.array-merge]: Argument #2 is not an array in/
   home/wdnaneta/public_html/wp-content/plugins/nextend/library/parse/font.php on
   line 27
 * [https://wordpress.org/plugins/nextend-accordion-menu/](https://wordpress.org/plugins/nextend-accordion-menu/)

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

 *  Plugin Author [Gabor](https://wordpress.org/support/users/nextendweb_gabor/)
 * (@nextendweb_gabor)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/array-error-7/#post-5525758)
 * Hi! I have only seen this problem once, when the server configuration was wrong,
   and then the solution was to disable magic_quotes_gpc in the hosting server, 
   because without that, the post variables will be messed up, and our menu can’t
   save down the settings properly.
 * You can check, if it’s turned on, if you create a php file with only this inside
   it:
    `<?php var_dump(get_magic_quotes_gpc()); ?>`
 * Upload it to your website, and check it through your browser.
 * You can modify our code, to make this error message disappear, but I think you
   might will have problems with the fonts:
    wp-content/plugins/nextend/library/
   parse/font.php
 * This code:
 *     ```
       function mixinTab($target, $source = ''){
               if($source == '') $source = $this->_font['firsttab'];
               $this->_font[$target] = array_merge($this->_font[$source], $this->_font[$target]);
       }
       ```
   
 * Could be changed to this:
 *     ```
       function mixinTab($target, $source = ''){
               if($source == '') $source = $this->_font['firsttab'];
               if(is_array($this->_font[$source])&&is_array($this->_font[$target])) $this->_font[$target] = array_merge($this->_font[$source], $this->_font[$target]);
       }
       ```
   
 *  Thread Starter [jlbeveridge](https://wordpress.org/support/users/jlbeveridge/)
 * (@jlbeveridge)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/array-error-7/#post-5525884)
 * Thanks for getting back to me, I should point out that this was working fine 
   and has only just started having the problem but no idea why as nothing had changed.
 * I’ve inserted the new code and everything looks good now, thanks 🙂

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

The topic ‘Array Error’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/nextend-accordion-menu_ab9186.svg)
 * [Nextend Accordion Menu](https://wordpress.org/plugins/nextend-accordion-menu/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/nextend-accordion-menu/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/nextend-accordion-menu/)
 * [Active Topics](https://wordpress.org/support/plugin/nextend-accordion-menu/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/nextend-accordion-menu/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/nextend-accordion-menu/reviews/)

## Tags

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

 * 2 replies
 * 2 participants
 * Last reply from: [jlbeveridge](https://wordpress.org/support/users/jlbeveridge/)
 * Last activity: [11 years, 6 months ago](https://wordpress.org/support/topic/array-error-7/#post-5525884)
 * Status: resolved