• Resolved mmihelic

    (@mmihelic)


    I am trying to update the plugin to the latest version (8.0.0), but as soon as I do that, I get the following error in the browser
    There has been a critical error on your website. Please check your site admin email inbox for instructions.

    In the php-fpm log I see this:

    [11-Sep-2020 12:53:26 UTC] PHP Fatal error:  Uncaught Error: Unsupported operand types in /opt/wordpress/wp-content/plugins/simple-share-buttons-adder/php/class-database.php:335
    Stack trace:
    #0 /opt/wordpress/wp-content/plugins/simple-share-buttons-adder/php/class-admin-bits.php(300): SimpleShareButtonsAdder\Database->upgrade_ssba(true, '6.0.2')
    #1 /opt/wordpress/wp-includes/class-wp-hook.php(285): SimpleShareButtonsAdder\Admin_Bits->ssbaMenu()
    #2 /opt/wordpress/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array)
    #3 /opt/wordpress/wp-includes/plugin.php(478): WP_Hook->do_action(Array)
    #4 /opt/wordpress/wp-admin/includes/menu.php(155): do_action('admin_menu', '')
    #5 /opt/wordpress/wp-admin/menu.php(326): require_once('/opt/wordpress...')
    #6 /opt/wordpress/wp-admin/admin.php(153): require('/opt/wordpress...')
    #7 /opt/wordpress/wp-admin/index.php(10): require_once('/opt/wordpress...')
    #8 {main}
      throwin /opt/wordpress/wp-content/plugins/simple-share-buttons-adder/php/class-database.php on line 335

    I reset the testing environment before each try. Starting from the same start point, sometimes a page reload helps, other times not. Tried it in multiple clean browsers (Chrome, Firefox, Safari).

    What could be wrong?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor ShareThis

    (@sharethis)

    Hi there,

    Thank you for reaching out!

    Can you please verify for me if you are still experiencing this issue on your end?

    If so, can you please provide me with the specific URLs you are having issues with in order for me to be able to provide you with an absolute solution?

    Also,

    When it comes to running a local/test environment with our widget, we recommend moving the site to live production before giving it a try as there are some resources that aren’t passed during a local/test environment which is most likely the cause of this error.

    Best,

    Thread Starter mmihelic

    (@mmihelic)

    Hi!

    The testing environment is not a local sandbox but a full PROD copy. It works the same as PROD but is not accessible from the outside so I cannot provide you with a URL.
    I do not know how access to a broken site would help you, but if you are looking for specific (error) messages I can provide them.

    I will test latest plugin version (v8.1.2 at this time) and report. It may take a while.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Problem updating from 6.0.2 to 8.0.0’ is closed to new replies.