Open alanef opened 4 years ago
I'm now getting this even when 'has_addons' => true,
Is there a fix?
p.s. the usecase is where the addon is installed but the licence on a premium only is not active. It is probably correct that at that point it is not connected but should be checked with isset at least as the notices really muck up test environments with debug display on
Hello, I am getting the same error with latest version of the sdk too. Will it still persist when I released the addon or should I check some other implementation issue on my end?
For anyone that may struggle with this issue in the future, make sure plan and licenses are prepared and published from dashboard and necessary changes made to SDK integration at your plugin/theme. Afterwards, error disappeared for us.
confirmed this and solutions in 2024
π bug report
Behavior:
What is the issue? (*)
When you have defined an addon but don't (yet) want it to publicly show on an Add On tab (e.g. pre -release of customer specific add on ) and define 'has_addons' => false,everything works except you get Undefined Index is_connected line 13327 of class-fremius.php
if ( ! $addon_info['is_connected'] ) { // Add-on is not associated with an install entity. continue; }
What is the expected behavior?
No PHP Errors or warningsVersions: (*)
Freemius SDK Version:
2.3.2WordPress Version:
AnyPHP Version:
7.3Plugin / Theme: (*)
Name:
AnySlug:
AnyFreemius ID:
AnyAdditional Information:
Browser Type: (*)
AnyBrowser Version: (*)
AnyOS: (*)
AnyStack Traces:
Not requiredNote:
(*)
indicates required information. Without this information, your issue may be auto-closed.