• Resolved Imagetripslip38

    (@tripslip38)


    This is a setup that has been working well for months but does receive plugin auto-updates. Suddenly stopped running SS.

    Trouble instantiating the ss_after_setup_task function.

    [2025-01-14 18:15:41] Setting up
    [2025-01-14 18:15:41] Error: (1) Uncaught Error: Non-static method Simply_Static\Setup_Task::add_additional_files_to_db() cannot be called statically in /var/www/html/wp-content/themes/blocksy/inc/integrations/simply-static.php:75
    Stack trace:
    #0 /var/www/html/wp-includes/class-wp-hook.php(324): {closure}('')
    #1 /var/www/html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)
    #2 /var/www/html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    #3 /var/www/html/wp-content/plugins/simply-static/src/tasks/class-ss-setup-task.php(58): do_action('ss_after_setup_...')
    #4 /var/www/html/wp-content/plugins/simply-static/src/class-ss-archive-creation-job.php(183): Simply_Static\Setup_Task->perform()
    #5 /var/www/html/wp-content/plugins/simply-static/vendor/deliciousbrains/wp-background-processing/classes/wp-background-process.php(531): Simply_Static\Archive_Creation_Job->task('setup')
    #6 /var/www/html/wp-content/plugins/simply-static/vendor/deliciousbrains/wp-background-processing/classes/wp-background-process.php(350): WP_Background_Process->handle()
    #7 /var/www/html/wp-includes/class-wp-hook.php(324): WP_Background_Process->maybe_handle('')
    #8 /var/www/html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters('', Array)
    #9 /var/www/html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    #10 /var/www/html/wp-admin/admin-ajax.php(192): do_action('wp_ajax_wp_arch...')
    #11 {main}
    thrown in /var/www/html/wp-content/themes/blocksy/inc/integrations/simply-static.php on line 75
Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Support Imagesr293

    (@sr293)

    Hey tripslip38, sorry to hear you’re having an issue. Is the export able to run correctly when you change to a default WordPress theme?

    Thread Starter Imagetripslip38

    (@tripslip38)

    Yes, it worked ok with default themes. It was solved by updating the Blocksy theme integration shim setup task function syntax.

    Plugin Support Imagesr293

    (@sr293)

    Glad to hear it worked with default themes, thanks for sharing the results. It looks like maybe Simply Static compatibility that was added to the Blocksy theme may need to be updated for the latest version of Simply Static, so you may want to reach out the the Blocksy support team to see if they can add a fix.

    Hi @tripslip38

    It was solved by updating the Blocksy theme integration shim setup task function syntax.

    Can you share the steps which you used to resolve this please. I am experiencing the same issue and both Simply Static plugin and Blocksy theme are up to date.

    @sr293 FYI I have tested Blocksy theme on a blank installation with only Simply Static plugin and can confirm this error occurs.

    Plugin Author Imagepatrickposner

    (@patrickposner)

    Hey @phillsav and @tripslip38,

    that is an issue inside the Simply Static integration from Blocksy (it’s not part of our plugin).

    We are still waiting for an official update from them to resolve that. It’s not entirely clear whether we will provide the integration ourselves in the future or whether they will continue to maintain it as part of their theme.

    Hi @patrickposner

    Thank you for the reply. Just to make you and anyone else who reads this topic aware, I have reached out to Blocksy Support and this is their reply:

    We are aware of this latest change from the plugin and our developers are looking into it as we speak. I will let you know as soon as I have something from their side.

    Thanks.

    @patrickposner @tripslip38

    FYI- Blocksy has fixed this in their latest update.

    Plugin Author Imagepatrickposner

    (@patrickposner)

    Thanks for the update @phillsav – much appreciated!

    I’ll go ahead and close this ticket now.

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

The topic ‘New exception during init – integration file in Blocksy theme’ is closed to new replies.