• Resolved robaxxx

    (@robaxxx)


    Hi there

    I’ve installed the latest update which is great as it finally fixes the couple of bugs that I reported a while back. Those issues are good now, thanks for that.

    I was just checking some sites on my multisite instance and none of them would open. So I got on the server desktop and stopped and restarted the website and application pool (IIS). Then the sites came back.

    In the PHP error log were two hours’ worth of the error I’ve pasted below.

    I thought I’d post it here in case the Smartcrawl developer/s know what happened and need to update or change anything?

    There are half a dozen sites on the instance, with 3 of them having small WooCommerce stores.

    The system is otherwise all up to date; latest WP and plugins. And I can’t trigger this error so I have no steps to replicate. I’ll certainly update here if it happens again overnight.

    Regards
    Rob

    ———————————————————————–

    [06-Mar-2023 08:32:47 UTC] PHP Fatal error: Uncaught Error: Class ‘Smartcrawl_Woocommerce_Api’ not found in C:\inetpub\wwwroot\pathremoved\wp-content\plugins\smartcrawl-seo\includes\core\class-wds-endpoint-resolver.php:109
    Stack trace:

    0 C:\inetpub\wwwroot\pathremoved\wp-content\plugins\smartcrawl-seo\includes\core\class-wds-endpoint-resolver.php(74): Smartcrawl_Endpoint_Resolver->resolve_location()

    1 C:\inetpub\wwwroot\pathremoved\wp-content\plugins\smartcrawl-seo\includes\tools\onpage.php(148): Smartcrawl_Endpoint_Resolver::resolve()

    2 C:\inetpub\wwwroot\pathremoved\wp-content\plugins\smartcrawl-seo\includes\tools\onpage.php(162): Smartcrawl_OnPage->get_queried_entity()

    3 C:\inetpub\wwwroot\pathremoved\wp-includes\class-wp-hook.php(308): Smartcrawl_OnPage->smartcrawl_title()

    4 C:\inetpub\wwwroot\pathremoved\wp-includes\plugin.php(205): WP_Hook->apply_filters()

    5 C:\inetpub\wwwroot\pathremoved\wp-includes\general-template.php(1168): apply_filters()

    6 C:\inetpub\wwwroot\pathremoved\wp-includes\general-template.php(1292): wp_get_document_ in C:\inetpub\wwwroot\pathremoved\wp-content\plugins\smartcrawl-seo\includes\core\class-wds-endpoint-resolver.php on line 109

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Saurabh – WPMU DEV Support

    (@wpmudev-support7)

    Hi @robaxxx

    Hope you are doing well!

    The following error shows when the file that contains the class is not accessible because is either missing or the permissions are not properly set:

    Uncaught Error: Class ‘Smartcrawl_Woocommerce_Api’ not found in C:\inetpub\wwwroot\pathremoved\wp-content\plugins\smartcrawl-seo\includes\core\class-wds-endpoint-resolver.php:109

    In this particular case, if the error was displayed in the logs after a recent update, it may have required the file permissions to be re-assigned, which seems to have been fixed by the website and application pool restart.

    In case you are able to reproduce this error by any means, please share the version of the plugin and any additional error log entries. We’ll be glad to perform a further check.

    Kind regards

    Luis

    Thread Starter robaxxx

    (@robaxxx)

    ok thanks, I’ll carry on and report back if it continues to happen.

    Regards
    Rob

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Smartcrawl_Woocommerce_Api not found’ is closed to new replies.