Support

Home Forums Event Espresso Premium Warning: array_merge() [function.array-merge]: – Event page error.

Warning: array_merge() [function.array-merge]: – Event page error.

Posted: August 13, 2013 at 6:24 am

Viewing 5 reply threads


Winston Douglas

August 13, 2013 at 6:24 am

Hi I’m still having real problems with an error i’m getting on some pages of my website.

1. All my data has been imported directly to the database into tables wp_events_detail, wp_events_category_detail, wp_events_category_rel, wp_events_venue, wp_events_venue_rel.

2. All events have meta information formatted correctly.

3. The error message: Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/content/69/8813369/html/wp-content/plugins/event-espresso/templates/registration_page.php on line 139

4. Some event pages do not show the error after clicking on them.
example: http://valoros.com/events/?ee=999

5. Some event pages do show the error after clicking on them
http://valoros.com/events/?ee=1245

Is there any way you can help? even if I can suppress the message or stop it.


Josh

  • Support Staff

August 13, 2013 at 7:52 am

It’s likely that the serialized data isn’t quite right. You can suppress the error messages by setting WP_DEBUG to false and/or setting display_errors to false:

http://codex.wordpress.org/Editing_wp-config.php#Configure_Error_Logging


Winston Douglas

August 13, 2013 at 8:20 am

I have debug suppression on already. it’s still showing on the page.


Josh

  • Support Staff

August 13, 2013 at 8:26 am

What method are you using to not display the errors?

You may need to go through and find where the imported data needs to be fixed. Comparing the event data from events where no errors are displaying to the event data from events where the errors are displaying may help narrow down the issue.


Winston Douglas

August 13, 2013 at 8:47 am

define(‘WP_DEBUG’, false);

I’ve been through many times and it seems perfect. Events that are exactly the same, some show the error and some don’t.


Josh

  • Support Staff

August 13, 2013 at 9:03 am

You might need to add something like this to wp-config.php to turn off display_errors:

@ini_set(‘display_errors’,’Off’);

Viewing 5 reply threads

The support post ‘Warning: array_merge() [function.array-merge]: – Event page error.’ 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