Support

Home Forums Community Forum Strict Standards: Only variables should be passed by reference in

Strict Standards: Only variables should be passed by reference in

Posted: December 2, 2014 at 3:25 pm


Bermender

December 2, 2014 at 3:25 pm

Getting this error:

Strict Standards: Only variables should be passed by reference in /home/faithandjustice/public_html/wp-content/plugins/event-espresso-free/templates/event_list.php on line 300

site is http://www.afaiththatdoesjustice.org/

I’ve already read and tried the tips suggested on this forum:https://eventespresso.com/topic/error-message-appearing-on-my-events-page/ with no luck.

How can I get this resolved? Thanks!


Josh

  • Support Staff

December 2, 2014 at 3:59 pm

Hi there,

Can you check with your host and see if they have error_display set to true? If they do, they can change it so it’s false.

It may also work to add:

@ini_set( 'display_errors', 0 );

to the wp-config.php file, right after where it says:
define( 'WP_DEBUG', false );


Bermender

December 2, 2014 at 4:13 pm

Josh,

That totally worked. You are a sweetie! lol

Thanks!

The support post ‘Strict Standards: Only variables should be passed by reference in’ 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