Support

Home Forums Event Espresso Premium Warning: array_merge(): Argument #2 is not an array (EE_Messages_Validator.core)

Warning: array_merge(): Argument #2 is not an array (EE_Messages_Validator.core)

Posted: September 14, 2014 at 11:05 am

Viewing 13 reply threads


Hannes Schnitzer

September 14, 2014 at 11:05 am

Hi,

I’m using EE4.4.0p and WP 4.0.
When trying to edit the email templates I get the following warnings

Warning: array_merge(): Argument #2 is not an array in /kunden/.../wp-content/plugins/event-espresso-core-reg/core/libraries/messages/validators/EE_Messages_Validator.core.php on line 242

Warning: array_merge(): Argument #1 is not an array in /kunden/.../wp-content/plugins/event-espresso-core-reg/core/libraries/messages/validators/EE_Messages_Validator.core.php on line 242

Warning: array_merge(): Argument #1 is not an array in /kunden/.../wp-content/plugins/event-espresso-core-reg/core/libraries/messages/validators/EE_Messages_Validator.core.php on line 242

Warning: array_merge(): Argument #1 is not an array in /kunden/.../wp-content/plugins/event-espresso-core-reg/core/libraries/messages/validators/EE_Messages_Validator.core.php on line 242

Warning: array_merge(): Argument #1 is not an array in /kunden/.../wp-content/plugins/event-espresso-core-reg/core/libraries/messages/validators/EE_Messages_Validator.core.php on line 242

Warning: array_merge(): Argument #1 is not an array in /kunden/.../wp-content/plugins/event-espresso-core-reg/core/libraries/messages/validators/EE_Messages_Validator.core.php on line 242

Warning: array_merge(): Argument #1 is not an array in /kunden/.../wp-content/plugins/event-espresso-core-reg/core/libraries/messages/validators/EE_Messages_Validator.core.php on line 242

Warning: array_merge(): Argument #1 is not an array in /kunden/.../wp-content/plugins/event-espresso-core-reg/core/libraries/messages/validators/EE_Messages_Validator.core.php on line 242

Warning: array_merge(): Argument #1 is not an array in /kunden/.../wp-content/plugins/event-espresso-core-reg/core/libraries/messages/validators/EE_Messages_Validator.core.php on line 242

Warning: array_merge(): Argument #2 is not an array in /kunden/.../wp-content/plugins/event-espresso-core-reg/core/libraries/messages/validators/EE_Messages_Validator.core.php on line 414

Warning: array_merge(): Argument #1 is not an array in /kunden/.../wp-content/plugins/event-espresso-core-reg/core/libraries/messages/validators/EE_Messages_Validator.core.php on line 414

Warning: array_merge(): Argument #1 is not an array in /kunden/.../wp-content/plugins/event-espresso-core-reg/core/libraries/messages/validators/EE_Messages_Validator.core.php on line 414

Warning: array_merge(): Argument #1 is not an array in /kunden/.../wp-content/plugins/event-espresso-core-reg/core/libraries/messages/validators/EE_Messages_Validator.core.php on line 414

Warning: array_merge(): Argument #1 is not an array in /kunden/.../wp-content/plugins/event-espresso-core-reg/core/libraries/messages/validators/EE_Messages_Validator.core.php on line 414

Warning: array_keys() expects parameter 1 to be array, null given in /kunden/.../wp-content/plugins/event-espresso-core-reg/core/libraries/messages/validators/EE_Messages_Validator.core.php on line 251

Warning: array_intersect(): Argument #2 is not an array in /kunden/.../wp-content/plugins/event-espresso-core-reg/core/libraries/messages/validators/EE_Messages_Validator.core.php on line 251

Warning: array_keys() expects parameter 1 to be array, null given in /kunden/.../wp-content/plugins/event-espresso-core-reg/core/libraries/messages/validators/EE_Messages_Validator.core.php on line 251

Warning: array_intersect(): Argument #2 is not an array in /kunden/.../wp-content/plugins/event-espresso-core-reg/core/libraries/messages/validators/EE_Messages_Validator.core.php on line 251

Warning: array_keys() expects parameter 1 to be array, null given in /kunden/.../wp-content/plugins/event-espresso-core-reg/core/libraries/messages/validators/EE_Messages_Validator.core.php on line 251

Warning: array_intersect(): Argument #2 is not an array in /kunden/.../wp-content/plugins/event-espresso-core-reg/core/libraries/messages/validators/EE_Messages_Validator.core.php on line 251

Warning: array_keys() expects parameter 1 to be array, null given in /kunden/.../wp-content/plugins/event-espresso-core-reg/core/libraries/messages/validators/EE_Messages_Validator.core.php on line 251

Warning: array_intersect(): Argument #2 is not an array in /kunden/.../wp-content/plugins/event-espresso-core-reg/core/libraries/messages/validators/EE_Messages_Validator.core.php on line 251

Warning: array_keys() expects parameter 1 to be array, null given in /kunden/.../wp-content/plugins/event-espresso-core-reg/core/libraries/messages/validators/EE_Messages_Validator.core.php on line 251

Warning: array_intersect(): Argument #2 is not an array in /kunden/.../wp-content/plugins/event-espresso-core-reg/core/libraries/messages/validators/EE_Messages_Validator.core.php on line 251

Warning: array_keys() expects parameter 1 to be array, null given in /kunden/.../wp-content/plugins/event-espresso-core-reg/core/libraries/messages/validators/EE_Messages_Validator.core.php on line 251

Warning: array_intersect(): Argument #2 is not an array in /kunden/.../wp-content/plugins/event-espresso-core-reg/core/libraries/messages/validators/EE_Messages_Validator.core.php on line 251

The text areas for [EVENT_LIST], [ATTENDEE_LIST], etc. are not loaded and not displayed correctly in emails sent to registrants.

What’s wrong here?

Thanks.


Tony

  • Support Staff

September 15, 2014 at 4:37 am

Hi Hannes,

If you go to Event Espresso -> Messages.

Do you see a list of Default Templates there?

How are you currently editing the templates? Through the menu mentioned above or through the event editor?


Hannes Schnitzer

September 15, 2014 at 4:54 am

Yes, I see the templates and yes, I am Editionen them through that admin Interface, not through the event Editor.


Tony

  • Support Staff

September 15, 2014 at 5:12 am

Does this happen on all the Message Types or specific ones?

Have you previously edited the templates?

Is this a fresh install or a migration from either ee3 or version 4.2.x or 4.3.x?

Apologies for all the questions, need to narrow the cause down some.


Hannes Schnitzer

September 15, 2014 at 5:31 am

I migrated from ee3, haven’t edited the templates before and see the Problem on all templates.

Thanks


Tony

  • Support Staff

September 15, 2014 at 6:00 am

It looks like you templates are not setup correctly.

Does your default template list look exactly like this? – http://take.ms/dnvG

Can you go to Event Espresso -> Messages. Settings Tab.

You should see something like this – http://take.ms/MRsCR

Switch the switch to off, wait a few seconds and switch it back on. (This de-activates and re-activate the messages system, in doing so the system will generate any missing templates, which appears to be they issue here)

Can you then edit the templates without error?


Hannes Schnitzer

September 15, 2014 at 6:30 am

Sorry, I have you a wrong info. Actually only some templates don’t work. Payments Received is fine for example. Registration Pending Payments and Registration Approved are not Displays correctly. Turning it off and in again didn’t help ๐Ÿ™

Thanks


Tony

  • Support Staff

September 15, 2014 at 7:15 am

I suspect the Registrant group is missing.

Go to Event Espresso -> Messages.

Look at the ‘Registration Approved’ message type. Do you see the ‘Registrant’ group within the Recipients? – http://take.ms/ore60

If that’s the case then disabling and re-enabling the messages system should have regenerated that group.

Did you upload EE4 via the plugin uploader or manually via FTP?


Hannes Schnitzer

September 15, 2014 at 7:33 am

Yes I do see Registrant (not on every Template but at least in those not working). I have uploaded the files manually and I have a dev Environment in a subdomain where it works just fine. Same WP and EE4 versions.


Tony

  • Support Staff

September 15, 2014 at 7:40 am

Yes I do see Registrant (not on every Template but at least in those not working).

They should only be active on those two templates, so they will only be displayed there.

I would try reinstalling EE4. Go to Plugins. De-activate and Delete EE4.

Go to Your Account Page download the latest version of EE4 and upload that using the Plugin uploader (Plugins -> Add New -> Upload)

Then activate that version of EE4 once again.

If that does not fix the issue would it be possible for me to take a look at the install?

If so please send temporary login details using https://eventespresso.com/send-login-details/


Hannes Schnitzer

September 15, 2014 at 7:56 am

I have sent you the login data as required.
Thanks


Tony

  • Support Staff

September 15, 2014 at 10:30 am

Strange, the Registrant Group has been created, so that’s not the issue.

Can you try disabling all Non-EE plugins and retest to see if the Message editor then loads all fields.

I notice the site has a migration plugin (installed but not active) is the a migrated site or the original site?

Also it seems there are no active registrations on this site, only what appear to be test registrations, is that correct?


Hannes Schnitzer

September 15, 2014 at 11:19 am

I’m sorry, since I was at the office earlier I couldn’t try to reinstall EE4 earlier and I think I wasted some time of yours. Sincere apologies.

Reinstalling EE4 through a .zip upload has resolved the issue. Thank you very much for your help.

Here’s a hint for everyone who experiences weird issues: try reinstalling the plugin first before you delete all plugin database entries. That was my first try :o)

cheers


Tony

  • Support Staff

September 16, 2014 at 4:05 am

No Problem. I’m just glad your back up and running ๐Ÿ™‚

Thank you for letting us know Hannes, any other questions/issues just let us know.

Viewing 13 reply threads

The support post ‘Warning: array_merge(): Argument #2 is not an array (EE_Messages_Validator.core)’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso