Support » Plugin: ShortPixel Image Optimizer » Fatal error when reinstalling shortpixel

  • Hi SP Team,

    I was cleaning up my limited webspace and went to delete the Shortpixel Backup folder (uploads/ShortpixelBackups)
    So I deactivated the plugin and deleted the backup folder which brought me some errors. I reuploaded the backup folder, uninstalled the plugin and now when I try to reinstall the plugin I receive the following error:

    Fatal error: Uncaught Error: Call to undefined method ShortPixel\ShortPixelPlugin::alterHtaccess() in 
    Stack trace: 
    #0 /wp-includes/class-wp-hook.php(288): ShortPixel\ShortPixelPlugin::activatePlugin('') 
    #1 /wp-includes/class-wp-hook.php(312): WP_Hook->apply_filters('', Array) 
    #2 /wp-includes/plugin.php(478): WP_Hook->do_action(Array) 
    #3 /wp-admin/plugins.php(177): do_action('activate_shortp...') 
    #4 {main} thrown in /wp-content/plugins/shortpixel-image-optimiser/shortpixel-plugin.php on line 358

    Any clue what causes this error?

Viewing 2 replies - 1 through 2 (of 2 total)
  • ver. 4.15.1

    error ??

    Plugin Support Gerard Blanco


    Hi @mainroller,

    Can you please make sure you have the latest update of SPIO, which should be 4.15.2?

    If you have it, can you please tell us the exact steps to follow to reproduce the error? I have tried to do this but I don’t get any error:
    1) Deactivate SPIO
    2) Remove uploads/ShortpixelBackups
    3) Activate SPIO

    Am I missing something?

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