Title: Expected parameter 1 to be an array, string given class.arm_global_settings.php
Last modified: November 4, 2020

---

# Expected parameter 1 to be an array, string given class.arm_global_settings.php

 *  Resolved [50l3r](https://wordpress.org/support/users/50l3r/)
 * (@50l3r)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/expected-parameter-1-to-be-an-array-string-given-class-arm_global_settings-php/)
 * Hi all,
 * I cant apply coupons with latest version of armembers. I recieve this error multiple
   times:
 * `2020/11/04 03:58:29 [error] 1359#0: *131062 FastCGI sent in stderr: "PHP message:
   PHP Warning: array_merge(): Expected parameter 1 to be an array, string given
   in /var/www/html/example.com.new/wp-content/plugins/armember/core/classes/class.
   arm_global_settings.php on line 1968PHP message: PHP Warning: Illegal string 
   offset 'rename_wp_admin' in /var/www/html/example.com.new/wp-content/plugins/
   armember/core/classes/class.armember.php on line 5233PHP message: PHP Warning:
   array_merge(): Expected parameter 1 to be an array, string given in /var/www/
   html/example.com.new/wp-content/plugins/armember/core/classes/class.arm_global_settings.
   php on line 1968" while reading response header from upstream, client: 31.4.157.48,
   server: example.com, request: "POST /carrito/ HTTP/1.1", upstream: "fastcgi://
   127.0.0.1:9000", host: "example.com", referrer: "https://example.com/carrito/"`
 * I use 4.1 Armember version with pro license

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

 *  Plugin Author [reputeinfosystems](https://wordpress.org/support/users/reputeinfosystems/)
 * (@reputeinfosystems)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/expected-parameter-1-to-be-an-array-string-given-class-arm_global_settings-php/#post-13632147)
 * Hello,
 * I have checked issue accordingly at our local server but issue not found. But
   still if you are referring to ARMember pro plugin so kindly open support ticket
   at [https://helpdesk.arpluginshop.com/](https://helpdesk.arpluginshop.com/) and
   our support staff will assist you further.
 * Thanks
 *  [families4u](https://wordpress.org/support/users/families4u/)
 * (@families4u)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/expected-parameter-1-to-be-an-array-string-given-class-arm_global_settings-php/#post-13909586)
 * How do I offer different coupons with limits? As an example: 5% off for Silver
   membership up to a value of $300 and 5% off for Gold membership up to a discounted
   value of $2,000? Is this possible? Thank you.

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

The topic ‘Expected parameter 1 to be an array, string given class.arm_global_settings.
php’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/armember-membership_1a2538.svg)
 * [ARMember - Membership Plugin, Content Restriction, Member Levels, User Profile & User signup](https://wordpress.org/plugins/armember-membership/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/armember-membership/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/armember-membership/)
 * [Active Topics](https://wordpress.org/support/plugin/armember-membership/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/armember-membership/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/armember-membership/reviews/)

 * 2 replies
 * 3 participants
 * Last reply from: [families4u](https://wordpress.org/support/users/families4u/)
 * Last activity: [5 years, 4 months ago](https://wordpress.org/support/topic/expected-parameter-1-to-be-an-array-string-given-class-arm_global_settings-php/#post-13909586)
 * Status: resolved