Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 512573

PHP Notice when used as mu-plugin

$
0
0

Replies: 0

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 )

  • This topic was modified 10 minutes ago by  docflo.

Viewing all articles
Browse latest Browse all 512573

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>