• Resolved choshin

    (@choshin)


    I just updated one of my wordpress blogs with the newest xcloner without any problems and was really loving the new features, particularly that scheduled backups are no longer saved in config files but in the database instead. Then I went to update another wordpress with xcloner and I’m running into some problems.

    When I go to generate a back up, the file list and database list do not generate (so I can’t select what I want to back up, but I am able to create a general back up).

    When I schedule a back up, it does not appear in the scheduled back ups list or create a line in the database.

    Checking the database here returns ‘0’
    https://lastingarthritisrelief.com/arthritiscoaching/wp-admin/admin-ajax.php?action=get_scheduler_list

    I’ve tried deleting the plugin completely and re-installing in case there was an installation error.

    This is what I found in the error log:
    [2017-07-05 17:53:52] php_system.INFO: E_NOTICE: array ( ‘type’ => 8, ‘message’ => ‘Undefined index: page’, ‘file’ => ‘/home/lastin12/public_html/arthritiscoaching/wp-content/plugins/wishlist-smartlinks/WLMSL_Admin.php’, ‘line’ => 23, ) [] []
    [2017-07-05 17:53:50] php_system.INFO: E_STRICT: array ( ‘type’ => 2048, ‘message’ => ‘Non-static method WLMAPI::GetLevels() should not be called statically’, ‘file’ => ‘/home/lastin12/public_html/arthritiscoaching/wp-content/plugins/wl-smartnav/admin.php’, ‘line’ => 67, ) [] []
    [2017-07-05 17:53:50] xcloner_file_system.INFO: Cleaning the backup storage on matching rules [] []

    Thank you for any help you can provide!

Viewing 11 replies - 1 through 11 (of 11 total)
  • Hi there, it could be a conflict with another plugin, could you detail the list of plugins you have installed?

    Thread Starter choshin

    (@choshin)

    I just went through and deleted out-dated, extraneous plugins, then tried installing xcloner again. When I schedule a back up, it still does not appear in the scheduled back ups list or create a line in the database. I wondering if manually creating a line in the database for xcloner would help?

    Here are the plugins currently activated:
    IntenseDebate
    Jetpack
    LessThanWeb – Testimonials
    Plainview Activity Monitor
    Wishlist Member
    WishList Smartlinks
    Wishlist SmartNav
    Wishlist Widget Control
    WP Super Cache
    XCloner
    and drop in: advance-cache.php

    Could you try to deactivate all plugins to see if it helps? If not, feel free to drop me a line here https://www.thinkovi.com/contact/ with your site details, i would be happy to check further this issue for you.

    Thanks for the details, seems the issue you have is indeed related to the Wishlist Member plugin which throws a javascript error that breaks the site backend, error code is

    chosen.jquery.js?ver=2.92.3228:829 Uncaught TypeError: Cannot read property ‘length’ of undefined
    at Chosen.results_build (chosen.jquery.js?ver=2.92.3228:829)
    at Chosen.set_up_html (chosen.jquery.js?ver=2.92.3228:624)
    at Chosen.AbstractChosen (chosen.jquery.js?ver=2.92.3228:131)
    at new Chosen (chosen.jquery.js?ver=2.92.3228:577)
    at HTMLDivElement.<anonymous> (chosen.jquery.js?ver=2.92.3228:567)
    at Function.each (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils&ver=4.8:2)
    at a.fn.init.each (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils&ver=4.8:2)
    at a.fn.init.chosen (chosen.jquery.js?ver=2.92.3228:560)
    at Object.init (tinymce_lightbox.js?ver=2.92.3228:369)
    at HTMLDocument.<anonymous> (tinymce_lightbox.js?ver=2.92.3228:380)

    the js file path being wp-content/plugins/wishlist-member/js/chosen.jquery.js

    So you will need to contact it’s developers to fix this, XCloner and most probably other plugins are not able to function properly because of it

    I am marking this as resolved as it’s not an issue from XCloner.

    • This reply was modified 7 years, 4 months ago by XCloner.
    Thread Starter choshin

    (@choshin)

    Thank you so much for looking into this for me. I’m in contact with Wishlist Member support now. One more question, how can I recreate this error and where will I be able to see it?

    Simply open your browser javascript debugger, you will see the error listed there when wishlist member is active

    Thread Starter choshin

    (@choshin)

    This is what Wishlist Member support suggested:

    I checked the site backup plugin and the issue is that the said plugin changed all <select> element including the WLM select elements added to each plugins. What I suggest is instead of targeting an element, make it more specific by adding a class. In this way, the elements that are only affected are it’s own.

    This is the code:
    jQuery(‘select’).material_select();

    To fix the issue:
    jQuery(‘.col select’).material_select();

    If you are not familiar with this, please forward this message to Site Backup plugin author for them to decide whether they will change it or not.

    For now, I’ll add a patch fix to solve the conflict but this will be overwritten if you update the Site Backup plugin.

    However, scheduled back ups are still not working. Checking the database here still returns ‘0’
    https://lastingarthritisrelief.com/arthritiscoaching/wp-admin/admin-ajax.php?action=get_scheduler_list

    What do you think? Is there a way to make XCloner and Wishlist play nice?

    I have added the fixes in the dev version of xcloner, you can download it from here https://downloads.www.ads-software.com/plugin/xcloner-backup-and-restore.zip , remove the old plugin and update with the dev version and let me know if you have anymore issues

    Thread Starter choshin

    (@choshin)

    I completely deleted the old version and reinstalled from your link.
    When manually generating back ups, the database base and file lists now show up (hurray!). When scheduling a backup, I still had to manually create a line in the database for the scheduler before it would save. Under ‘Next Execution’ is blank and the scheduler doesn’t appear to run. Error log is the same as before. =(
    I appreciate your time and help so much, but I’m starting to think XCloner and Wishlist just aren’t compatible.

    You need to check if your server scheduler is setup to run the wp-cron.php file , that is the trigger for the scheduler to start. Make sure you are calling that file using the php-cli and not the web link, would you might sharing how you’ve set that up?

    I have accessed the wp-cron.php manually and the schedule seems to start, so i would suggest to recheck that with your hosting provider, however the process times out after some time and the backup is being stopped in the middle.

    I was also able to save a schedule from the frontend interface, so you might want to try that again

    Thread Starter choshin

    (@choshin)

    The scheduled back up finally worked last night! Thank you so much so all your time and help! I’m not sure what exactly made this happen, but it worked! Thank you!

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘fails to create back up schedule in database’ is closed to new replies.