PHP Notice when used as mu-plugin
-
When using this plugin as a “Must Use” plugin (in folder
mu-plugins
) I get the following PHP notice:
Undefined variable: plugin_directory
Location:app/mu-plugins/sendgrid-email-delivery-simplified/lib/class-sendgrid-settings.php:37
When I change line 31 to this the notice goes away:
public static function set_up_menu( $plugin_directory )
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘PHP Notice when used as mu-plugin’ is closed to new replies.