Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-sales domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the better-click-to-tweet domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-amazon domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-stats domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the wordpress-seo domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114
Restoring backup of 'events_organization_settings' doesn't work | Event Espresso - Staging Server

Support

Home Forums Event Espresso Premium Restoring backup of 'events_organization_settings' doesn't work

Restoring backup of 'events_organization_settings' doesn't work

Posted: September 25, 2013 at 2:47 am

Viewing 2 reply threads


Cristi Constantin

September 25, 2013 at 2:47 am

Due to testing on another topic, I had accidentally reset my ‘events_organization_settings’ av_options. I restored a database backup containing sql instructions. Even so, my organization settings page is still empty. Even if I manually run a similar sql instruction, when I acces the page, the content of the database option is instantly reset.

<code>
update av_options set option_value = &#039;a:62:{s:12:&quot;organi[...]&#039;
where
option_name = &#039;events_organization_settings&#039;;
</code>

(sql is not complete, obviously)


Josh

September 26, 2013 at 11:16 am

Hi Cristi,

One thing you could do is check out how Event Espresso sets this table up. If you look at the events_organization_tbl_install() function in /includes/functions/database_install.php. One thing you could do is copy, adapt, and run a similar function one time to restore the ‘events_organization_settings’ table.


Cristi Constantin

September 28, 2013 at 7:04 am

I have managed to fix this. It is caused by improper sql backup and restore of columns containing multi-line data, like the email templates set in the organization page of Event Espresso. Otherwise said, everytime a newline (\r\n) is exported, the plugin which created the sql backup has written 2 characters representing \r\n (which translated as a newline), instead of writing 4 characters (\, r, \, n). This broke the imported data serialization and the settings could not be read by EE.

For reference, the plugin which caused the issue is Better WP Security (I have posted a bug description for them, maybe for other installations it works ok, though), and the plugin which created a good backup is BackWPup.

Viewing 2 reply threads

The support post ‘Restoring backup of 'events_organization_settings' doesn't work’ 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 - Staging Server