• Resolved nealbo

    (@nealbo)


    Hi there, yesterday I logged into my site to find a fatal error that prevented me from accessing the admin dashboard. I renamed the YASR plugin folder on my webspace to end with _Disabled which removed the error. I then reactivated it from within the WordPress admin dashboard which allowed YASR to work again, and I had no issues in my dashboard.

    So this seemed to resolve the issue.

    However, today I again have the same error – see below:

    Fatal error: Uncaught Error: Call to undefined method Freemius_Api_WordPress::RemoteRequest() in /homepages/40/xxxxxxxxxxxx/htdocs/clickandbuilds/Earnologist/wp-content/plugins/yet-another-stars-rating_Disable/vendor/freemius/wordpress-sdk/includes/class-fs-api.php:381 Stack trace: #0 /homepages/40/xxxxxxxxxxxx/htdocs/clickandbuilds/Earnologist/wp-content/plugins/yet-another-stars-rating_Disable/vendor/freemius/wordpress-sdk/includes/class-freemius.php(24868): FS_Api::remote_request('https://api.wor...', Array) #1 /homepages/40/xxxxxxxxxxxx/htdocs/clickandbuilds/Earnologist/wp-content/plugins/yet-another-stars-rating_Disable/vendor/freemius/wordpress-sdk/includes/class-fs-plugin-updater.php(933): Freemius::safe_remote_post('https://api.wor...', Array, 86400, 43200, false) #2 /homepages/40/xxxxxxxxxxxx/htdocs/clickandbuilds/Earnologist/wp-content/plugins/yet-another-stars-rating_Disable/vendor/freemius/wordpress-sdk/includes/class-fs-plugin-updater.php(621): FS_Plugin_Updater->fetch_wp_org_module_translation_updates('plugins', 'wp-sheet-editor...') #3 /homepages/40/xxxxxxxxxxxx/htdocs/clickandbuilds/Earnologist/wp-includes/class-wp-hook.php(310): FS_Plugin_Updater->pre_set_site_transient_update_plugins_filter(Object(stdClass)) #4 /homepages/40/xxxxxxxxxxxx/htdocs/clickandbuilds/Earnologist/wp-includes/plugin.php(205): WP_Hook->apply_filters(Object(stdClass), Array) #5 /homepages/40/xxxxxxxxxxxx/htdocs/clickandbuilds/Earnologist/wp-includes/option.php(2018): apply_filters('pre_set_site_tr...', Object(stdClass), 'update_plugins') #6 /homepages/40/xxxxxxxxxxxx/htdocs/clickandbuilds/Earnologist/wp-includes/update.php(391): set_site_transient('update_plugins', Object(stdClass)) #7 /homepages/40/xxxxxxxxxxxx/htdocs/clickandbuilds/Earnologist/wp-includes/update.php(1020): wp_update_plugins() #8 /homepages/40/xxxxxxxxxxxx/htdocs/clickandbuilds/Earnologist/wp-includes/class-wp-hook.php(308): _maybe_update_plugins('') #9 /homepages/40/xxxxxxxxxxxx/htdocs/clickandbuilds/Earnologist/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array) #10 /homepages/40/xxxxxxxxxxxx/htdocs/clickandbuilds/Earnologist/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #11 /homepages/40/xxxxxxxxxxxx/htdocs/clickandbuilds/Earnologist/wp-admin/admin.php(175): do_action('admin_init') #12 /homepages/40/xxxxxxxxxxxx/htdocs/clickandbuilds/Earnologist/wp-admin/index.php(10): require_once('/homepages/40/d...') #13 {main} thrown in /homepages/40/xxxxxxxxxxxx/htdocs/clickandbuilds/Earnologist/wp-content/plugins/yet-another-stars-rating_Disable/vendor/freemius/wordpress-sdk/includes/class-fs-api.php on line 381

    Any assistance would be appreciated.

    • This topic was modified 1 year, 8 months ago by nealbo.
Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Contributor dudo

    (@dudo)

    Hello, thank you for sharing this.

    I’ve reported this to the Freemius guys, hope to get some news soon.

    In the mantime, I want try to reproduce the issue; can you please share a screenshoot of:
    Site Health -> Info -> Active Plugins
    Site Health -> Info -> Server

    Best,
    Dario

    Thread Starter nealbo

    (@nealbo)

    @dudo, thanks for passing it along.

    I was able to fix again by renaming the YASR folder again. All seems ok for now, but of course I thought the same last time I deactivated and activated the plugin!

    Do you have a support email that I could send the screenshots to instead? I’m not 100% comfortable sharing back-end info on public forums.

    Plugin Contributor dudo

    (@dudo)

    Yes, please email me at free_support AT yetanotherstarsrating DOT com

    Thread Starter nealbo

    (@nealbo)

    @dudo I’ve emailed over the screenshots including the Freemius page in admin.

    The issue occured again today, I was able to resolve again (temporarilly presumably) by deactivating and then reactivating YASR.

    Thread Starter nealbo

    (@nealbo)

    Also, even when it is “fixed” temporarily if I go to /wp-admin/admin.php?page=freemius and turn on debugging, I get the following but only on /wp-admin/update-core.php Once debugging is turned off, the error is removed.

    The previous errors I’ve mentioned seem to recur daily after I deactivate/activate.

    Fatal error: Uncaught Error: Call to undefined method Freemius_Api_WordPress::RemoteRequest() in /homepages/40/xxxxxxxxxx/htdocs/clickandbuilds/Earnologist/wp-content/plugins/yet-another-stars-rating/vendor/freemius/wordpress-sdk/includes/class-fs-api.php:381 Stack trace: #0 /homepages/40/xxxxxxxxxx/htdocs/clickandbuilds/Earnologist/wp-content/plugins/yet-another-stars-rating/vendor/freemius/wordpress-sdk/includes/class-freemius.php(24868): FS_Api::remote_request('https://api.wor...', Array) #1 /homepages/40/xxxxxxxxxx/htdocs/clickandbuilds/Earnologist/wp-content/plugins/yet-another-stars-rating/vendor/freemius/wordpress-sdk/includes/class-fs-plugin-updater.php(933): Freemius::safe_remote_post('https://api.wor...', Array, 86400, 43200, false) #2 /homepages/40/xxxxxxxxxx/htdocs/clickandbuilds/Earnologist/wp-content/plugins/yet-another-stars-rating/vendor/freemius/wordpress-sdk/includes/class-fs-plugin-updater.php(621): FS_Plugin_Updater->fetch_wp_org_module_translation_updates('plugins', 'wp-sheet-editor...') #3 /homepages/40/xxxxxxxxxx/htdocs/clickandbuilds/Earnologist/wp-includes/class-wp-hook.php(310): FS_Plugin_Updater->pre_set_site_transient_update_plugins_filter(Object(stdClass)) #4 /homepages/40/xxxxxxxxxx/htdocs/clickandbuilds/Earnologist/wp-includes/plugin.php(205): WP_Hook->apply_filters(Object(stdClass), Array) #5 /homepages/40/xxxxxxxxxx/htdocs/clickandbuilds/Earnologist/wp-includes/option.php(2018): apply_filters('pre_set_site_tr...', Object(stdClass), 'update_plugins') #6 /homepages/40/xxxxxxxxxx/htdocs/clickandbuilds/Earnologist/wp-includes/update.php(391): set_site_transient('update_plugins', Object(stdClass)) #7 /homepages/40/xxxxxxxxxx/htdocs/clickandbuilds/Earnologist/wp-includes/class-wp-hook.php(308): wp_update_plugins('') #8 /homepages/40/xxxxxxxxxx/htdocs/clickandbuilds/Earnologist/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters('', Array) #9 /homepages/40/xxxxxxxxxx/htdocs/clickandbuilds/Earnologist/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #10 /homepages/40/xxxxxxxxxx/htdocs/clickandbuilds/Earnologist/wp-admin/admin.php(385): do_action('load-update-cor...') #11 /homepages/40/xxxxxxxxxx/htdocs/clickandbuilds/Earnologist/wp-admin/update-core.php(10): require_once('/homepages/40/d...') #12 {main} thrown in /homepages/40/xxxxxxxxxx/htdocs/clickandbuilds/Earnologist/wp-content/plugins/yet-another-stars-rating/vendor/freemius/wordpress-sdk/includes/class-fs-api.php on line 381

    If I disable YASR, then turn on debugging as above and go to /wp-admin/update-core.php there is no fatal error.

    • This reply was modified 1 year, 8 months ago by nealbo.

    same issue at my side. Let me know if you need anything which help you to resolve that

    Fatal error: Uncaught Error: Call to undefined method Freemius_Api_WordPress::RemoteRequest() in /home/691374.cloudwaysapps.com/xxx/public_html/wp-content/plugins/yet-another-stars-rating/vendor/freemius/wordpress-sdk/includes/class-fs-api.php:381 Stack trace: #0 /home/691374.cloudwaysapps.com/xxx/public_html/wp-content/plugins/yet-another-stars-rating/vendor/freemius/wordpress-sdk/includes/class-freemius.php(24868): FS_Api::remote_request() #1 /home/691374.cloudwaysapps.com/xxx/public_html/wp-content/plugins/yet-another-stars-rating/vendor/freemius/wordpress-sdk/includes/class-fs-plugin-updater.php(933): Freemius::safe_remote_post() #2 /home/691374.cloudwaysapps.com/xxx/public_html/wp-content/plugins/yet-another-stars-rating/vendor/freemius/wordpress-sdk/includes/class-fs-plugin-updater.php(621): FS_Plugin_Updater->fetch_wp_org_module_translation_updates() #3 /home/691374.cloudwaysapps.com/xxx/public_html/wp-includes/class-wp-hook.php(310): FS_Plugin_Updater->pre_set_site_transient_upda in?/home/691374.cloudwaysapps.com/xxx/public_html/wp-content/plugins/yet-another-stars-rating/vendor/freemius/wordpress-sdk/includes/class-fs-api.php?on line?381

    Plugin Contributor dudo

    (@dudo)

    Thank you!

    The Freemius team has been able to replicate the issue and will soon release a fix.
    As soon as it will be available I will release a new version of the plugin.

    Best,
    Dario

    Plugin Contributor dudo

    (@dudo)

    Just released version 3.3.4.

    This should be fixed, but please let me know!
    Best,
    Dario

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Fatal Error in Admin’ is closed to new replies.