How to fix PHP 5.0.5: Fatal error: Only variables can be passed by reference

  • Unknown's avatar

    In function import_from_reader($reader) in file wp-includes/pomo/mo.php
    change:
    if (” == $original) {
    $this->set_headers($this->make_headers($translation));
    } else {

    by:
    if (” == $original) {
    $tmp = $this->make_headers($translation);
    $this->set_headers($tmp);
    } else {

    Can this little patch applied to official releases?

  • Unknown's avatar

    You did not specify a blog address or reason for posting when you created this topic.

    This support forum is for blogs hosted at WordPress.com. If your question is about a self-hosted WordPress blog then you’ll find help at the WordPress.org forums.

    If you don’t understand the difference between WordPress.com and WordPress.org, you may find this information helpful.

    If you forgot to include a link to your blog, you can reply and include it below. It’ll help people to answer your question.

    This is an automated message.

  • The topic ‘How to fix PHP 5.0.5: Fatal error: Only variables can be passed by reference’ is closed to new replies.