Fatal Error: Call to a member function is_trial() on null - Multisite
Actual Behavior:
-
What is the issue? (*)
Fatal error: Call to a member function is_trial() on null in /home/xx/public_html/xx/members/wp-content/plugins/post-to-google-my-business-premium/freemius/includes/class-freemius.php on line 16683
triggered when pressing Sync License from the Account page from the Network manager
-
What is the expected behavior?Getting no fatal error 👍
Versions: (*)
-
Freemius SDK Version: 2.1.3 -
WordPress Version: 4.9.8 -
PHP Version: 5.6.21
Plugin / Theme: (*)
-
Name:Post to Google My Business -
Slug:post-to-google-my-business -
Freemius ID:1828
Additional Information:
-
Browser Type: Firefox -
Browser Version: - -
OS: W10 -
Stack Traces:
@Rhytz is it still happening? If so, could you please contact our support via [support AT freemius DOT com] and we'll continue from there.
Hi @vovafeldman, It was on a client website, I just asked whether it was still happening but apparently not.
@vovafeldman the same issue happened to a few client of mine, but on is_premium() method helper. It happens after user agreed to get promotion materials. Such warning shows once and then disappears. Most likely it is cache related.
repro:
- new website + clean db
- enable debug in wp config to see all errors
- activate plugin
- accept promotion
- somewhere here you should see this notice/warning