• Resolved lcapronnier

    (@lcapronnier)


    Upgrading from 4.3.5 to 4.3.8 leave all galleries empty in the backend and the frontend.

    Galleries are presents but no more images in them.

    I think the upgrading process did not run or the time was too long regarding to php max execution time.

    In order to restore galleries :
    1) Disable the plugin
    2) Edit the wordpress option table (with sql request) for the gallery options and set the version back to 4.3.5
    3) Enable the plugin

    It works for me.

    https://wordpress.org/plugins/gallery-plugin/

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author bestwebsoft

    (@bestwebsoft)

    Hi,

    We have received your request and it is now being processed. We will get back to you on this forum as soon as we can.

    Regards,
    BestWebSoft Support Team

    Plugin Author bestwebsoft

    (@bestwebsoft)

    Hi,

    Unfortunately, we cannot reproduce this problem on our local environment. Please provide the access credentials to your WordPress admin dashboard (with Administrator’s permissions) and the FTP credentials (host, username and password), in order to detect the reason and find the solution.

    Since this data is confidential, maybe, it would be better if you created a private ticket on our support forum http://support.bestwebsoft.com/. Please include a link to this post, so that we could recall the case immediately.

    Sincerely,
    BestWebSoft Support Team

    Hello!

    I am having the same problem. After the update all my photos are gone but the galleries are still there.

    Is it possible that you can explain how to do this:

    2) Edit the wordpress option table (with sql request) for the gallery options and set the version back to 4.3.5

    When I go to the wp_options table I do see some gallery rows, but I have no idea what to change or what the SQL request could be.

    Hope you can help! Thanks in advance!

    Thread Starter lcapronnier

    (@lcapronnier)

    1) Disable the plugin
    2) With a sql query SELECT * FROM <name of option table> WHEREoption_name='gllr_options' take the value and the ID of the option (you will need it for the update query)
    3) In the value field look for plugin_option_version (at the beginning of the field) and change “plugin_option_version”;s:5:”4.3.8″ to “plugin_option_version”;s:5:”4.3.5″ save the field with all others values.
    4) For me, the update query is below but DO NOT COPY IT right away or all your settings will be change :
    UPDATE <name of option table> SEToption_value= 'a:26:{s:21:"plugin_option_version";s:5:"4.3.5";s:21:"gllr_custom_size_name";a:2:{i:0;s:11:"album-thumb";i:1;s:11:"photo-thumb";}s:19:"gllr_custom_size_px";a:2:{i:0;a:2:{i:0;i:120;i:1;i:80;}i:1;a:2:{i:0;i:160;i:1;i:120;}}s:13:"border_images";i:1;s:19:"border_images_width";i:10;s:19:"border_images_color";s:7:"#F1F1F1";s:22:"custom_image_row_count";i:3;s:15:"start_slideshow";i:0;s:18:"slideshow_interval";i:2000;s:38:"single_lightbox_for_multiple_galleries";i:0;s:8:"order_by";s:14:"meta_value_num";s:5:"order";s:3:"ASC";s:14:"album_order_by";s:4:"date";s:11:"album_order";s:4:"DESC";s:19:"read_more_link_text";s:23:"Voir les images »";s:10:"image_text";i:0;s:11:"return_link";i:0;s:16:"return_link_text";s:20:"Return to all albums";s:16:"return_link_page";s:20:"gallery_template_url";s:15:"return_link_url";s:0:"";s:21:"return_link_shortcode";i:0;s:16:"rewrite_template";i:1;s:19:"display_demo_notice";i:1;s:23:"display_settings_notice";i:0;s:13:"first_install";i:1449045216;s:15:"template_update";s:0:"";}' WHEREoption_id= <strong><id of your option in the table></strong>;
    5) Enable the plugin

    I solved it!

    It is in the wp_options table with the option name: gllr_options

    There you can change the version number and then the photos are back!

    Plugin Author bestwebsoft

    (@bestwebsoft)

    Hi,

    Sometimes it happens that some error appears during the update and plugin updates in a wrong way. In your case, plugin options are updated improperly. You can update the options manually like it was offered, but we can’t guarantee that after that the plugin will be work correctly. So if this problem will bother you in future, please contact us via our support forum and we’ll help you to fix it.

    Sincerely,
    BestWebSoft Support Team

    Thread Starter lcapronnier

    (@lcapronnier)

    Setting back the version number in the database enable the migration of the gallery a second time, and it works in all my instances.

    Plugin Author bestwebsoft

    (@bestwebsoft)

    Hi,

    We appreciate your feedback and if you`ll have any questions in the future, we will be glad to answer them.

    Sincerely,
    BestWebSoft Support Team

    I just had to use this fix as well. All the gallery images were gone on my client’s site after the 4.3.8 update.

    THANK YOU @lcapronnier for the fix!!!!

    @bestwebsoft: Any idea when (or if) this will be repaired in a future update? I’m a little hesitant to update this plugin now, if it’s going to delete all the images from my galleries.

    I disable plugin, then I change plugin version to 4.3.5, but when I turn plugin on, it still don’t show my pictures, and in gllr_option table, version is then change to current version 4.3.9!

    Any ideas how can I fix this?

    EDIT: I just realize that I just change plugin version, but I need to enter some SQL syntax? Where I need to enter that?

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘Upgrade to 4.3.8 empty all galleries’ is closed to new replies.