Support

Home Forums Event Espresso Premium EE_VLM_DSCNT::instance() should not be called statically

EE_VLM_DSCNT::instance() should not be called statically

Posted: January 16, 2017 at 3:55 am

Viewing 1 reply thread


lhammond

January 16, 2017 at 3:55 am

I know this is a strict standards notice, but if we wanted to make it go away by not calling the instance() function statically, has anyone updated the code or provided instructions on the proper way to do so?
thanks!


Tony

  • Support Staff

January 16, 2017 at 7:06 am

Hi there,

Are you logging those errors or are they being displayed on the page?

I’ll create a ticket for this but to fix you should be able to open up the espresso-volume-discounts.php within the add-on.

Find public function &instance

Change it to

public static function &instance

That’s should prevent the notice from being thrown.

Viewing 1 reply thread

The support post ‘EE_VLM_DSCNT::instance() should not be called statically’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso