Tagged: 

Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #844152

    I have the latest version of WordPress and Enfold 4.1.2.

    My php memory is set to 256. Please advise to what the issue is. This wasn’t a problem until I updated to Enfold version 4.1.2.

    Please note: I have the same issue and error as noted in this thread here: https://kriesi.at/support/topic/layerslider-not-saving-edits-to-existing-slider-nor-allowing-new-slider-to-be/

    With debug mode enabled, this is the error: Notice: Undefined index: flag_popup in /wp-content/themes/enfold/config-layerslider/LayerSlider/wp/shortcodes.php on line 297

    There wasn’t a clear fix posted, and again, this didn’t happen until I updated to 4.1.2. I’m unable to even create a new slide.

    Please advise.My dev site info is below…

    • This topic was modified 7 years, 3 months ago by Mark.
    #844997

    Posted this on August 25th with no response as of yet. Need help with this guys. ASAP please. Customer is waiting for me to update slides and I cannot at this time.

    #845610

    Hi,

    Thank you for using Enfold.

    I checked line 297 of the wp > shortcodes.php file but I can’t find the “flag_popup” array. This is what the code block looks like:

    // Store generated output
    		$lsInit = array();
    		$lsContainer = array();
    		$lsMarkup = array();
    		$lsPlugins = array();
    

    Please make sure that the “config-layerslider” folder is updated correctly.

    We would like to apologize for the late response.

    Best regards,
    Ismael

    #845628

    Thanks for the reply, Ismael – I’ll copy the folder over again, but I updated via FTP originally so I’m pretty confident the folder was overwritten with I updated. I downloaded the latest theme version from Themeforest and uploaded via ftp. I’ll try again and see if that resolves it. Should I uninstall the plugin and reinstall? I can export the sliders beforehand if you think that’s necessary. Maybe there’s some legacy code sitting out there? Not sure why there’s be an error like this if the flag is no longer in the theme. Seems very weird to me unless there was a problem when I transferred the files.

    No worries on the late reply, I know how many you guys get and the customer service is stellar as always.

    Mark

    #845694

    Hi,

    I’m sorry but it turned I was the one who’s not using the latest version of the theme. I can see the array now on line 297.

    if( ! $slider || ( (int)$slider['flag_popup'] && ! get_option('layerslider-authorized-site', false) ) ) {
    

    Please replace it with:

    if( ! $slider && ! get_option('layerslider-authorized-site', false) ) ) {
    

    Still, the slider should still work correctly because it’s not a critical or fatal error.

    Best regards,
    Ismael

    #847463

    Hey Ishmael,

    Made the adjustment and now the error is gone, but the slider still won’t save. It seems like it does when I click the button, but it doesn’t work. Not sllider adjustments are saving at all. I can’t modify, edit, or even create a new slider. Did you login with the info and see what I’m talking about? I know I’m not the only one with the issue as there have been threads in the past.

    Any ideas?

    #847588

    Hi,

    It’s probably a plugin issue. Please revert the file back to default then go to the plugins panel. Deactivate every plugins before testing the layer slider again. Let us know if this is working. If not, please post the FTP details here so that we can check it thoroughly.

    Best regards,
    Ismael

    #850277

    I deactivated the plugins and still the same issue. Below are the ftp details.

    Thanks,
    Mark

    #850785

    Hi,

    The “flag_popup” is a column in the database and it’s missing in your installation.

    WordPress database error: [Unknown column ‘flag_popup’ in ‘field list’]
    INSERT INTO wp_layerslider (author, name, slug, data, date_c, date_m, flag_popup) VALUES (3, ‘Test’, ”, ‘{\”properties\”:{\”sliderVersion\”:\”6.5.1\”,\”title\”:\”Test\”,\”new\”:true},\”layers\”:[[]]}’, 1505192995, 1505192995, 0)
    Warning: Cannot modify header information – headers already sent by (output started at /home/greatfis/public_html/il/wp-includes/wp-db.php:1405) in /home/greatfis/public_html/il/wp-content/themes/enfold/config-layerslider/LayerSlider/wp/actions.php on line 242

    What is the version of the theme prior to the latest update?

    Best regards,
    Ismael

    #851319

    Ok, so how do we fix this? What I provided access to was the dev instance and I will need to fix it there first and then move it over to prod. I’m always no more than 1 or 2 releases behind. So this install was either 4.0 or 4.1…I don’t remember exactly.

    • This reply was modified 7 years, 2 months ago by Mark.
    #851891

    Hi,

    The plugin should have created the “flag_popup” column automatically. I’m not sure why it’s not there. We may need to add the database column in the “wp_layerslider” table manually. I think it’s better if you ask your hosting provider to do it.

    NOTE: Don’t forget to create a backup of the database and the files.

    Best regards,
    Ismael

    #853146

    Hey Ishmael!

    That did the trick! Added the column back into the table and everything is working beautifully! Couple last questions:

    1. Where did you go to see the error information you pasted above – I’d like to be able to do this and troubleshoot on my own in the future? WordPress database error: [Unknown column ‘flag_popup’ in ‘field list’]
    2. I’m curious how you think the flag_popup column was removed? That’s a little scary as I’ve never modified my database, ever.
    3. Do I need to change line 297 back to if( ! $slider || ( (int)$slider[‘flag_popup’] && ! get_option(‘layerslider-authorized-site’, false) ) ) {
    Again, thanks as always for the stellar support. Best theme and support ever – you guys ROCK!

    Mark

    • This reply was modified 7 years, 2 months ago by Mark.
    #853717

    Hi,

    1.) I think the error occured after I tried to save the slider.

    2.) I’m not sure why it was not added automatically.

    3.) Yes, please change the file back to the original.

    Best regards,
    Ismael

Viewing 13 posts - 1 through 13 (of 13 total)
  • You must be logged in to reply to this topic.