• Resolved Ov3rfly

    (@ov3rfly)


    After uninstall there are files remaining in uploads folder:

    /wp-content/uploads/wpo/images/wpo_logo_small.png
    /wp-content/uploads/wpo/images/wpo_logo_small.png.webp

    Please remove.

    WP-Optimize 3.2.12, WordPress 6.1.1

Viewing 15 replies - 16 through 30 (of 30 total)
  • Plugin Support vupdraft

    (@vupdraft)

    The issue you initially reported was that these two files were left after the plugin was deinstalled

    /wp-content/uploads/wpo/images/wpo_logo_small.png /wp-content/uploads/wpo/images/wpo_logo_small.png.webp

    These files are no longer left after the plugin is removed.

    You have however found some additional issues which has been added to our development board.

    We have listened to your feedback and are taking steps to rectify the issues that you have brought to our attention.

    We have followed up on both the issues you have raised.

    I do apologise that we did not detect your second issue but as I have said we have noted it and we will be taking action and we are appreciative that you brought this to our attention.

    • This reply was modified 1 year, 4 months ago by vupdraft.
    Plugin Contributor Venkat Raj

    (@webulous)

    Solved in version 3.2.17

    Thread Starter Ov3rfly

    (@ov3rfly)

    Unfortunately the issues are still not solved.

    If you check the server after plugin uninstall, there is still remaining file:

    /wp-content/uploads/.htaccess

    Please remove.

    Additionally still a Cron error is triggered:

    Cron reschedule event error for hook: wpo_reset_webp_conversion_test_result, Error code: invalid_schedule, Error message: Event schedule does not exist., Data: {"schedule":"wpo_daily","args":[],"interval":86400}

    Additionally an orphaned Cron event is left with daily schedule without action:

    wpo_smush_clear_backup_images

    Please fix.

    WP-Optimize 3.2.17, WordPress 6.2.2

    Plugin Support vupdraft

    (@vupdraft)

    I do not have .htaccess remaining in my uploads, here are my uploads: https://snipboard.io/wzp9XJ.jpg

    I do however, have the smush cron events; https://snipboard.io/wzp9XJ.jpg

    I don’t have the cron error but I will check again tomorrow.

    Thread Starter Ov3rfly

    (@ov3rfly)

    100% reproducible in fresh empty install WP and WP-Optimize.

    Folders in your uploads screenshot show that you are obviously not using a fresh install. And your cron screenshot shows the same uploads folders(?).

    Plugin Support vupdraft

    (@vupdraft)

    I will set up a fresh wp install and install a fresh copy of the plugin to retest

    Plugin Support vupdraft

    (@vupdraft)

    I have used a newly launched clone with a fresh version of WPO installed from the WordPress repository.

    • I do get a blank .htaccess.
    • I do get the smush clear backup images task in my scheduler
    • I don not get the cron error

    I will add a report to our development board.

    Plugin Contributor Venkat Raj

    (@webulous)

    @ov3rfly This has been fixed in release 3.2.20

    Thread Starter Ov3rfly

    (@ov3rfly)

    Unfortunately the issue is still not solved.

    The Cron error is still triggered:

    Cron reschedule event error for hook: wpo_reset_webp_conversion_test_result, Error code: invalid_schedule, Error message: Event schedule does not exist., Data: {"schedule":"wpo_daily","args":[],"interval":86400}

    WP-Optimize 3.2.21, WordPress 6.3.2

    Getting the same error

    [05-Mar-2024 03:40:22 UTC] Cron reschedule event error for hook: wpo_reset_webp_conversion_test_result, Error code: invalid_schedule, Error message: Event schedule does not exist., Data: {"schedule":"wpo_daily","args":[],"interval":86400}

    This appears to be causing time outs and I’m getting 503 errors.

    I can’t understand why this is even running – I never enabled any of the image options – I was just cleaning up the database.

    Plugin Support vupdraft

    (@vupdraft)

    WP-Optimize no longer uses?WPO_WebP_Cron_Scheduler?class and it seems the update removed that class file successfully, but didn’t update the file that calls it.

    Please do a manual overwrite of?/wp-content/plugins/wp-optimize?folder or do fresh install

    Thread Starter Ov3rfly

    (@ov3rfly)

    What is no longer used? There is this code in class-wp-optimize-webp.php

    /**
     * Initialize cron scheduler
     */
    public function init_webp_cron_scheduler() {
    	if (!wp_next_scheduled('wpo_reset_webp_conversion_test_result')) {
    		wp_schedule_event(time(), 'wpo_daily', 'wpo_reset_webp_conversion_test_result');
    	}
    }

    WP-Optimize 3.3.1

    Plugin Support vupdraft

    (@vupdraft)

    Thread Starter Ov3rfly

    (@ov3rfly)

    How does that thread help with the error(s) described in this thread?

    Plugin Support vupdraft

    (@vupdraft)

    1. Can you delete and then reinstall WP Optimize and install the free plugin WP Crontrol
    2. Once you have installed the WPO again, Can you then check if you see wpo_daily in your Cron Events.

    The unknown frequency is likely related to the wpo_daily Cron event.

    Alternatively, you can add the following to your wp-config.php

    add_action(“init”, “remove_cron_job”);
    function remove_cron_job() {
    wp_clear_scheduled_hook(“wpo_reset_webp_conversion_test_result”);
    }

    I would try uninstalling and reinstaling the plugin first though.

Viewing 15 replies - 16 through 30 (of 30 total)
  • The topic ‘Files remaining after uninstall’ is closed to new replies.