PHP Error on Activation
-
I am installing the Post SMTP Plugin into a new site. The plugin installs correctly but will not activate. It fails with a PHP error caused by a null argument to a function.
Using “%omitted% to hide site information, the PHP error is:
PHP Fatal error: Uncaught TypeError: Argument 1 passed to Freemius::get_api_user_scope_by_user() must be an instance of FS_User, null given, called in /nas/content/live/%omitted%/wp-content/plugins/post-smtp/freemius/includes/class-freemius.php on line 23658 and defined in /nas/content/live/%omitted%/wp-content/plugins/post-smtp/freemius/includes/class-freemius.php:23672#012Stack trace:#012#0 /nas/content/live/%omitted%/wp-content/plugins/post-smtp/freemius/includes/class-freemius.php(23658): Freemius->get_api_user_scope_by_user(NULL)#012#1 /nas/content/live/%omitted%/wp-content/plugins/post-smtp/freemius/includes/class-freemius.php(23697): Freemius->get_api_user_scope(false)#012#2 /nas/content/live/%omitted%/wp-content/plugins/post-smtp/freemius/includes/class-freemius.php(20405): Freemius->get_current_or_network_user_api_scope()#012#3 /nas/content/live/%omitted%/wp-content/plugins/post-smtp/freemius/includes/class-freemius.php(11783): Freemius->_fetch_plugin_plans()#012#4 /nas/content/live/%omitted%/wp-content/plugins/post-smtp in /nas/content/live/%omitted%/wp-content/plugins/post-smtp/freemius/includes/class-freemius.php on line 23672
- The topic ‘PHP Error on Activation’ is closed to new replies.