Function split() is deprecated

Home Forums Calendar Products Events Calendar PRO Function split() is deprecated

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #28478
    catherine
    Member

    Hello
    I have tried deactivating my plugins and switched to 2012 and I have WP_debug set to false but I am seeing a loads of deprecated error messages on the event calendar page. Function split() is deprecated and on the settings dashboard Function call_user_method() is deprecated

    Is there a newer, corrected version of the-events-calendar/lib/the-events-calendar.class.php
    and /the-events-calendar/lib/tribe-field.class.php?

    #28479
    Barry
    Member

    Hi Catherine, you’re right and split() – which is a standard PHP function – has been deprecated as of PHP 5.3.

    It still works however and shouldn’t cause any problems; for production (live) sites what I’d recommend is turning off the display of errors.

    (See this external article for more on this.)

    #28482
    catherine
    Member

    I have tried using the code recommended in the article you linked to
    error_reporting(0);
    @ini_set(‘display_errors’, 0);
    no joy.

    #28484
    catherine
    Member

    Managed to sort it. My host php configuration was over-riding the config file and showing errors whether I wanted it or not. At least it is invisible now. Is there an update in the pipeline?

    #28488
    Barry
    Member

    Yeah the way to adjust these settings varies according to the hosting environment – so it’s always worth seeking help from your web host.

    Is there an update in the pipeline?

    There is; though I don’t know if it will immediately address these issues we’re definitely aware of some PHP 5.3 and 5.4 compatibility problems and have it logged as something to review.

    #978216
    Support Droid
    Keymaster

    This topic has not been active for quite some time and will now be closed.

    If you still need assistance please simply open a new topic (linking to this one if necessary)
    and one of the team will be only too happy to help.

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Function split() is deprecated’ is closed to new replies.