Hi, after updating your plugin on a wordpress site running in PHP 5.6 it completely crashes the site.
Your in luck because I am a very experienced PHP developer, So I can tell you exactly what is wrong.
In the file
firedrum-email-marketing\integrations\woocommerce\cart.class.php on Line 260 is this call
do_action( "{$this->plugin::get_branding()}_wc_cart_emptied" );
Unfortunately that’s not valid PHP syntax. Because you are using a static call with an Object instance and not a class name.
In other places I see both a static call to this as well as a non-static call. Either one will work but one will give a notice.
$this->plugin->get_branding()
or Email_Marketing_Plugin::get_branding()
In the constructor of that file is this line
$this->plugin = Email_Marketing_Plugin::instantiate();
In short, update you plugin for this bug as it’s not really a plugin users responsibility to debug this.
Anyway, good luck.
]]>Please see the optin form on this page. I cannot add a name and a phone field. It also doesn’t submit. When I try to add a new field I get this warning below.
Warning: Creating default object from empty value in /home4/closer/howtobuyorlandohomes/wp-content/plugins/firedrum-email-marketing/plugin.class.php on line 814
Warning: Cannot modify header information – headers already sent by (output started at /home4/closer/howtobuyorlandohomes/wp-content/plugins/firedrum-email-marketing/plugin.class.php:814) in /home4/closer/howtobuyorlandohomes/wp-includes/pluggable.php on line 1216
]]>