• Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of xml_set_object(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file in ~/wp-content/plugins/aWP/xmlparser.php on line 16

    Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of array_unshift(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. in ~/wp-content/plugins/aWP/xmlparser.php on line 64

    line 16:
    xml_set_object($this->parser, &$this);

    line 64:
    array_unshift($this->parents, &$this->parent);

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter nprignano

    (@nprignano)

    Also, if you remove the & before $this in both lines, the error goes away but the page content for the posts section does not load fully.

    What version of PHP are you using to get this warning?

    Unfortunately, the ampersands must remain to ensure PHP 4 compatibility.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘AWP error on posts submenu (admin)’ is closed to new replies.