You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While testing Freemius SDK 2.7.1 - we noticed there is a new fatal error when user activates the product and optin to Freemius (by clicking "Allow and Continue"). I think this issue is critical because even free user ignores this (by refreshing or navigating away from the Account page). The same error occurs again after user purchase (right after checkout) when user is redirected back to Account. This can confuse new customers and even give them poor user experience.
This is not reproducible with Freemius SDK 2.7.0.
Steps to reproduce:
Create blank /fresh installed WordPress site with a user email not yet registered or associated with Freemius.
In the opt-in dialog click "Allow and Continue" to optin.
While it waits the email to be received - click on "Account" (this is accessible in Prime Mover -> Account).
Actual result: User sees a critical error on account page. It is not accessible.
What is the expected behavior?
No fatal error - user can still see the Account page.
Versions: (*)
Freemius SDK Version: 2.7.1
WordPress Version: 6.5.2
PHP Version: 7.4 (and also reproducible even with PHP 8.1)
Plugin / Theme: (*)
Name: Prime Mover
Slug: prime-mover
Freemius ID: 3826
Additional Information:
Browser Type: (*) Any
Browser Version: (*) n/a
OS: (*) Linux and also reproducible with Windows using Local by Flywheel
Stack Traces: 23-Apr-2024 13:18:59 UTC] PHP Fatal error: Uncaught Error: Call to a member function is_expired() on bool in /home/emerson/sourcecode/testplatform/wp-content/plugins/prime-mover/freemius/includes/class-freemius.php:21352
Stack trace: #0 /home/emerson/sourcecode/testplatform/wp-content/plugins/prime-mover/freemius/includes/class-freemius.php(21093): Freemius->_sync_plugin_license() #1 /home/emerson/sourcecode/testplatform/wp-content/plugins/prime-mover/freemius/includes/class-freemius.php(6755): Freemius->_sync_license() #2 /home/emerson/sourcecode/testplatform/wp-content/plugins/prime-mover/freemius/includes/class-freemius.php(6667): Freemius->_sync_cron_method() #3 /home/emerson/sourcecode/testplatform/wp-content/plugins/prime-mover/freemius/includes/class-freemius.php(6737): Freemius->execute_cron() #4 /home/emerson/sourcecode/testplatform/wp-content/plugins/prime-mover/freemius/includes/class-freemius.php(6720): Freemius->_sync_cron() #5 /home/emerson/sourcecode/testplatform/wp-content/plugins/prime-mover/freemius/includes/class-freemius.php(23410) in /home/emerson/sourcecode/testplatform/wp-content/plugins/prime-mover/freemius/includes/class-freemius.php on line 21352
Note:(*) indicates required information. Without this information, your issue may be auto-closed.
You can find your Freemius SDK version at /freemius/start.php
You can find your Freemius product ID in the Freemius dashboard: SETTINGS -> INTEGRATION.
Do not modify the titles or questions. Simply add your responses to the ends of the questions.
Add more lines if needed.
The text was updated successfully, but these errors were encountered:
🐞 bug report
Behavior:
What is the issue? (*)
This is not reproducible with Freemius SDK 2.7.0.
Steps to reproduce:
Actual result: User sees a critical error on account page. It is not accessible.
What is the expected behavior?
Versions: (*)
Freemius SDK Version:
2.7.1WordPress Version:
6.5.2PHP Version:
7.4 (and also reproducible even with PHP 8.1)Plugin / Theme: (*)
Name:
Prime MoverSlug:
prime-moverFreemius ID:
3826Additional Information:
Browser Type: (*)
AnyBrowser Version: (*)
n/aOS: (*)
Linux and also reproducible with Windows using Local by FlywheelStack Traces:
23-Apr-2024 13:18:59 UTC] PHP Fatal error: Uncaught Error: Call to a member function is_expired() on bool in /home/emerson/sourcecode/testplatform/wp-content/plugins/prime-mover/freemius/includes/class-freemius.php:21352
Stack trace:
#0 /home/emerson/sourcecode/testplatform/wp-content/plugins/prime-mover/freemius/includes/class-freemius.php(21093): Freemius->_sync_plugin_license()
#1 /home/emerson/sourcecode/testplatform/wp-content/plugins/prime-mover/freemius/includes/class-freemius.php(6755): Freemius->_sync_license()
#2 /home/emerson/sourcecode/testplatform/wp-content/plugins/prime-mover/freemius/includes/class-freemius.php(6667): Freemius->_sync_cron_method()
#3 /home/emerson/sourcecode/testplatform/wp-content/plugins/prime-mover/freemius/includes/class-freemius.php(6737): Freemius->execute_cron()
#4 /home/emerson/sourcecode/testplatform/wp-content/plugins/prime-mover/freemius/includes/class-freemius.php(6720): Freemius->_sync_cron()
#5 /home/emerson/sourcecode/testplatform/wp-content/plugins/prime-mover/freemius/includes/class-freemius.php(23410) in /home/emerson/sourcecode/testplatform/wp-content/plugins/prime-mover/freemius/includes/class-freemius.php on line 21352
Note:
(*)
indicates required information. Without this information, your issue may be auto-closed.The text was updated successfully, but these errors were encountered: