Error Restoring Settings

This topic contains 3 replies, has 2 voices, and was last updated by  Stephen Harris 11 years, 3 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #8540

    We had this setup and running beautifully–no modifications to files. The last successful registration was around 6pm EST December 5. No one can register today. I went back in and the Bookings had been reset to sandbox mode and the PayPal address removed. We did upgrade the Event Organiser plugin, but after reports of errors started coming in. I went to change to Live and add the PayPal address and this is the error I receive:

    Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/hmastd/public_html/wp-content/plugins/event-organiser-pro/admin/settings.php on line 368

    Warning: Cannot modify header information – headers already sent by (output started at /home/hmastd/public_html/wp-content/plugins/event-organiser-pro/admin/settings.php:368) in /home/hmastd/public_html/wp-includes/pluggable.php on line 899

    Any ideas?

    Beth

    Beth Moeller
    #8541

    Hi Beth,

    That’s an odd error message: it seems the settings aren’t being retrieved from the database as an array. If the settings were deleted (somehow), it should return an empty array. This suggests that something has changed rather than removed the settings.

    Are you able to update the settings or does the error persist? What did you upgrade, the free version? And from what version to what version? If you’d like to get in touch via this form with details of the site I can take a look as soon as possible. (If you’re able to provide admin access and FTP access, I’ll create a local copy of the site, and investigate the issue there).

    The actual error seems like it might be quite minor – it could be fixed by simply deleting the setting in phpmyadmin. But it would be informative to know exactly what has gone wrong and why – so if you do that, please take a note of what the current value is (it should be a serialised array). Otherwise, I’ll take a look as soon as I hear from you via the linked to form.

    Stephen Harris
    #8553

    Hi Stephen,

    We upgraded the free version to 2.6.2 from the previous version. We lost the settings in the booking form and the error happens when we try to save the settings again. I am not convinced it is a causal relationship between the upgrade and losing settings.

    I have tried deactivating and reactivating the plugin. Then I deleted and re-installed with no luck.

    If you can tell me where in phpmyadmin to make the change, I can do that. This site is a mess — stapled on over the years by multiple employees and I don’t want you to have to sort through it.

    We are replacing RSVPMaker with EO Pro. RSVP Maker has been deactivated, but not deleted, yet. RSVP Maker had similar issues where things would work and then all of a sudden break. This is our only site with issues like this–it has gremlins and probably needs to be rebuilt from scratch.

    Beth

    Beth Moeller
    #8577

    Hi Beth,

    Inside phpmyadmin select the appropriate database, and then the table _options. The easiest way to find it is to search for the record with option_name equal to eventorganiser_options. The value should be a serialised array.

    Options for Pro are stored under eventorganiser_pro_options.

    You can delete either or both of those records, which will effectively restore settings to their default values. Uninstalling (rather than just deactivating) plug-ins will have the same effect as settings are deleted when the plug-in is uninstalled.

    If I can be of any more assistance, just let me know.

    Stephen Harris
Viewing 4 posts - 1 through 4 (of 4 total)
To enable me to focus on Pro customers, only users who have a valid license for the Pro add-on may post new topics or replies in this forum. If you have a valid license, please log-in or register an account using the e-mail address you purchased the license with. If you don't you can purchase one here. Or there's always the WordPress repository forum.