Symptoms and Troubleshooting
You are running a restore in your localhost where suddenly the restore freezes and does not progress any further. If you clear your browser cache and restore again – it again freezes and will not finish the error.
In this case, cancel the ongoing restore by closing the tab or navigating away from the page.
You should then enable WordPress debugging by adding this to your wp-config.php
:
define( 'WP_DEBUG', true );
define( 'WP_DEBUG_LOG', true );
define( 'WP_DEBUG_DISPLAY', false );
@ini_set( 'display_errors', 0 );
Please try to restore again if you get this complete error logged into /wp-content/debug.log
file:
PHP Fatal error: Uncaught Error: Call to a member function is_anonymous() on bool in /home/path/to/wordpress-install/wp-content/plugins/prime-mover-pro/freemius/includes/class-freemius.php
Causes
Prime Mover uses Freemius Inc SDK for licensing usage. This is also used partially in our marketing initiative for which you can opt-in or opt-out during plugin installation.
When you restore a site with Prime Mover – part of the Freemius SDK code runs for which it communicates with its server to verify licensing or opt-in status. This requires an active Internet connection.
In cases where an active Internet connection is not found – you will get this error. This is particularly true for localhost installations where there are times you will not be connected to an Internet
Actually this error is intermittent – this may or may not always occur without Internet connection. This is primarily due to the fact that Freemius only queries this once and not always(probably for API performance reasons).
So once Freemius got the correct confirmation data from its’ servers. You can even run the restore without an Internet connection and you should not get this error again.
First solution – Check your Internet connection
If you get this error – you should connect your local laptop/server to the Internet. Make sure your Internet is working – and then clear browser cache. Once you are surely connected – you should try again restoring the site.
Second solution – Reset PRO license
If you are connected to the Internet and using PRO version at the same time – but the error still comes out. Try doing a full PRO license reset. This will clean up all corrupted data so this error should clear up.
Still having issues?
The above two solutions should fix the error permanently and should not occur again. If the error does not go away even with Internet connection or a license reset- please get in touch with us and please all provide details to your error (including WordPress login if possible).