Support

Home Forums Event Espresso Premium Non-static method EED_Affiliate_WP::set_affiliate_referral_status_after_deleted_

Non-static method EED_Affiliate_WP::set_affiliate_referral_status_after_deleted_

Posted: November 19, 2016 at 2:05 pm

Viewing 1 reply thread


Matthew Olden

November 19, 2016 at 2:05 pm

How to correct this error?

Error: Non-static method EED_Affiliate_WP::set_affiliate_referral_status_after_deleted_transaction() should not be called statically

Stack trace
…ntent/plugins/event-espresso-core-reg/core/db_models/
EEM_Transaction.model.php (340)
…ww/html/wp-content/plugins/event-espresso-core-reg/core/
EE_Cron_Tasks.core.php (364)
…ks::clean_out_junk_transactions called at /var/www/html/wp-includes/
plugin.php (600)
in do_action_ref_array called at /var/www/html/wp-cron.php (117)

WordPress/4.6.1; https://www.sincitymunitions.com

contentType application/x-www-form-urlencoded


Tony

  • Support Staff

November 21, 2016 at 8:46 am

Hi Matthew,

Is that being displayed on the page or within the error logs?

I have created a ticket to investigate this however those notices will only show on the page if your server has display_errors set to true which you don’t really want on a production server. (You want to log the errors rather than display them)

To prevent the errors you can add something like:

// Disable display of errors and warnings 
@ini_set( 'display_errors', 0 );

To your wp-config.php file.

Note that does not fix the cause of the errors but should stop them displaying on the site.

Viewing 1 reply thread

The support post ‘Non-static method EED_Affiliate_WP::set_affiliate_referral_status_after_deleted_’ 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