Support

Home Forums Event Espresso Premium Illegal string offset 'member_only_all' – event_list_display.php on line 145

Illegal string offset 'member_only_all' – event_list_display.php on line 145

Posted: September 25, 2013 at 9:55 pm

Viewing 7 reply threads


Nicolas Alberto

    September 25, 2013 at 9:55 pm

    Any idea what I should do with that one.
    I am asking before touching the code.

    Event Registration and Ticketing Powered by Event Espresso – 3.1.35.P
    Wordpress 3.5
    Windows server 2008 IIS 7.5

    Cheers


    Dean

    • Support Staff

    September 26, 2013 at 3:00 am

    Hi,

    Have you got WP_DEBUG turned on? That will be the root cause as the option doesnt exist for non member events.


    Nicolas Alberto

      September 26, 2013 at 3:02 am

      No i have

      define(‘WP_DEBUG’, false);


      Anonymous

        September 26, 2013 at 3:30 am

        Hi Nicolas,

        Which version of PHP are you running?


        Nicolas Alberto

          September 26, 2013 at 3:32 am

          PHP Version 5.4.17


          Nicolas Alberto

            September 26, 2013 at 3:34 am

            It only does it if I am not logged in as a wordpress user.


            Josh

              September 26, 2013 at 11:29 am

              The code there certainly does throw the warnings when running PHP 5.4. This will be fixed. In the meantime, since it’s still displaying warnings even with wp_debug set to false it’s likely that PHP error reporting is set to display_errors On. Usually this can be overridden by adding this to your wp-config.php file:

              @ini_set( 'display_errors', 'Off' );

              If that does not work then the error_display setting in php.ini can be changed from:

              display_errors = On

              to:

              display_errors = Off


              Nicolas Alberto

                October 2, 2013 at 3:10 am

                Thanks Josh that worked for me.
                Cheers
                Nic

                Viewing 7 reply threads

                The support post ‘Illegal string offset 'member_only_all' – event_list_display.php on line 145’ 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 - Staging Server