Forum Replies Created

Viewing 1 replies (of 1 total)
  • After building PHP-5.3.3 and installing /usr/local/lib/php
    I got the same deprecation notices from WordPress-3.0.0 so I found out that php.ini /usr/local/lib/php.ini was NOT automatically updated. After editing or just copying php.ini-production the deprecation messages were suppressed.

    I think there is an important lesson here: We must find out how to replace the statements giving deprecation notices:

    Deprecated features:
    * Assigning the return value of new by reference is now deprecated.
    * Call-time pass-by-reference is now deprecated.
    * The use of {} to access string offsets is deprecated. Use [] instead.

    It is the first on which we focus:

    /**
     * WordPress Query object
     * @global object $wp_the_query
     * @since 2.0.0
     */
    $wp_the_query =& new WP_Query();

    This wordpress code could be corrected. I am trying to find out how! ??

Viewing 1 replies (of 1 total)