Title: Uncaught ArgumentCountError: array_merge()
Last modified: April 6, 2022

---

# Uncaught ArgumentCountError: array_merge()

 *  Resolved [Eastern Watersports](https://wordpress.org/support/users/kbdiverservices/)
 * (@kbdiverservices)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/uncaught-argumentcounterror-array_merge/)
 * On admin page when I click Yoast Search Appearance I get a critical error and
   this shows up in debug…all the other yoast pages work
 * [06-Apr-2022 18:59:37 UTC] [CRITICAL] : Uncaught ArgumentCountError: array_merge()
   does not accept unknown named parameters in /home/easternwatersports/public_html/
   wp-content/plugins/wordpress-seo-premium/admin/class-admin-editor-specific-replace-
   vars.php:223
    Stack trace: #0 /home/easternwatersports/public_html/wp-content/
   plugins/wordpress-seo-premium/admin/class-admin-editor-specific-replace-vars.
   php(223): array_merge() #1 /home/easternwatersports/public_html/wp-content/plugins/
   wordpress-seo-premium/admin/class-admin-editor-specific-replace-vars.php(88):
   WPSEO_Admin_Editor_Specific_Replace_Vars->get_unique_replacement_variables() #
   2 /home/easternwatersports/public_html/wp-content/plugins/wordpress-seo-premium/
   admin/class-config.php(144): WPSEO_Admin_Editor_Specific_Replace_Vars->get_generic()#
   3 /home/easternwatersports/public_html/wp-content/plugins/wordpress-seo-premium/
   admin/class-config.php(86): WPSEO_Admin_Pages->get_replace_vars_script_data()#
   4 /home/easternwatersports/public_html/wp-includes/class-wp-hook.php(307): WPSEO_Admin_Pages-
   >config_page_scripts() #5 /home/easternwatersports/public_html/wp-includes/class-
   wp-hook.php(331): WP_Hook->apply_filters() #6 /home/easternwatersports/public_html/
   wp-includes/plugin.php(474): WP_Hook->do_action() #7 /home/easternwatersports/
   public_html/wp-admin/admin-header.php(118): do_action() #8 /home/easternwatersports/
   public_html/wp-admin/admin.php(239): require_once(‘…’) #9 {main} thrown
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Funcaught-argumentcounterror-array_merge%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [Suwash Kunwar](https://wordpress.org/support/users/suascat_wp/)
 * (@suascat_wp)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/uncaught-argumentcounterror-array_merge/#post-15543034)
 * [@kbdiverservices](https://wordpress.org/support/users/kbdiverservices/)
 * We’re sorry you’re getting PHP errors while trying to access the Search Appearance
   page. I imagine this can be frustrating for you.
 * Looking at the error logs, it seems the error is coming up from the Yoast SEO
   Premium that you’ve installed on your site. Though we are unable to reproduce
   it on our end with the default TwentyTwenty theme, recent Yoast SEO Premium, 
   and WordPress, there could be other reasons specific to your setup. Make sure
   your site meets our [plugin requirements](https://yoast.com/help/plugin-requirements/).
 * While this forum is reserved for supporting the free version of Yoast SEO. As
   this topic is about a premium plugin, this thread has been marked as resolved
   per the [forum guidelines](https://wordpress.org/support/guidelines/#do-not-post-about-commercial-products).
 * If you have an active premium subscription, please contact our support team for
   assistance. [How can I get premium support?](https://yoast.com/help/support/#premium?utm_source=support&utm_medium=forum&utm_campaign=support-link)
 * If you do not have an active premium subscription, you can either [purchase a subscription](https://yoast.com/reasons-to-upgrade/)
   or downgrade to the free version.
 *  Plugin Support [Maybellyne](https://wordpress.org/support/users/maybellyne/)
 * (@maybellyne)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/uncaught-argumentcounterror-array_merge/#post-15567066)
 * Hi,
 * This thread has been marked as resolved due to a lack of activity.
 * You’re always welcome to re-open this topic. Please read [this post](https://wordpress.org/support/topic/read-this-before-your-post/)
   before [opening a new request](https://wordpress.org/support/plugin/wordpress-seo#new-post).
 * Thanks for understanding!

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

The topic ‘Uncaught ArgumentCountError: array_merge()’ is closed to new replies.

 * ![](https://ps.w.org/wordpress-seo/assets/icon-256x256.gif?rev=3419908)
 * [Yoast SEO - Advanced SEO with real-time guidance and built-in AI](https://wordpress.org/plugins/wordpress-seo/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordpress-seo/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordpress-seo/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpress-seo/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpress-seo/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpress-seo/reviews/)

 * 2 replies
 * 3 participants
 * Last reply from: [Maybellyne](https://wordpress.org/support/users/maybellyne/)
 * Last activity: [4 years, 1 month ago](https://wordpress.org/support/topic/uncaught-argumentcounterror-array_merge/#post-15567066)
 * Status: resolved