Viewing 8 replies - 1 through 8 (of 8 total)
  • @pvutrix
    Add the following code to the very beginning of your wp-config.php file (after the opening php tag <?php):

    // Hide E_DEPRECATED messages.
    if( defined( 'E_DEPRECATED' ) ) {
      error_reporting( error_reporting() & ~E_DEPRECATED );
    }

    Thread Starter pvutrix

    (@pvutrix)

    @yani
    Unfortunately, that didn’t help, the error message is still there…

    @pvutrix
    Do you have access to your php.ini file, usually located in /etc/ folder?

    Thread Starter pvutrix

    (@pvutrix)

    @yani
    yes

    The most important change is to a command called error_reporting. The default setting (it should be on line 305) looks like this:

    error_reporting = E_ALL & ~E_NOTICE

    Change it to this:

    error_reporting = E_ALL

    This ensures that PHP reports all errors. Although no one likes error messages, it’s vital to eliminate any errors (even seemingly minor ones) before deploying scripts on a live web server.

    Taken from ‘http://foundationphp.com/tutorials/php_leopard.php&#8217;, but should work 😉

    @drewno
    Thanks for helping.

    @pvutrix
    Can you try with the following code, in the beginning of your wp-config.php:

    // Hide E_DEPRECATED messages.
    if( defined( 'E_DEPRECATED' ) ) {
      error_reporting( E_ALL & ~E_DEPRECATED );
    }

    If you still get the Deprecated message, open php.ini in your favorite editor and locate the line that sets error_reporting.
    Make sure that it is not commented out and set it to:
    error_reporting = E_ALL & ~E_DEPRECATED

    Let me know if it helps.

    We will rewrite the plugin to use preg_split() or explode() where possible instead of split() in version 1.0.8

    We setup trac here: http://trac.the-seed.ca/
    Please use it to track the development, to report issues and to suggest enhancements.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘[Plugin: All-in-One Event Calendar] Deprecated: Function split()’ is closed to new replies.