The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

Will break site if using PHP 5.4 (1 post)

  1. J.D. Grimes
    Posted 3 years ago #

    Maybe this has already been reported, and if it has, I'm sorry.

    If you are on PHP 5.4, then your site will break due to this error: PHP Fatal error: Call-time pass-by-reference has been removed in .../wp-content/plugins/mailpress/mp-includes/class/MP_newsletter_post_type_.class.php on line 10

    That line is this:
    if (method_exists(&$this,'init')) add_action('init', array(&$this, 'init'), 1);

    You will have to edit this file and change &$this on this line to $this (no &). It should work after that. At least I haven't found anything else so far... If I do I will share it here.


Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

  • RSS feed for this topic
  • Started 3 years ago by J.D. Grimes
  • This topic is not a support question
  • WordPress version: 3.4.2