Title: [Plugin: Better WordPress Minify] Fatal error when using PHP 5.4.0
Last modified: August 20, 2016

---

# [Plugin: Better WordPress Minify] Fatal error when using PHP 5.4.0

 *  Resolved [Rickard Andersson](https://wordpress.org/support/users/exz/)
 * (@exz)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-better-wordpress-minify-fatal-error-when-using-php-540/)
 * After upgrading to PHP 5.4.0 the following fatal error occurred:
 * Fatal error: Call-time pass-by-reference has been removed in wp-content/plugins/
   bwp-minify/includes/class-bwp-minify.php on line 717
 * Passing by reference should be noted in the function parameter list and not in
   the variable being sent, [http://www.php.net/manual/en/language.references.pass.php](http://www.php.net/manual/en/language.references.pass.php)
 * This patch fixes the issue at least for me
 * [http://files.0x539.se/random/bwp-minify-call-time-pass-by-reference.patch](http://files.0x539.se/random/bwp-minify-call-time-pass-by-reference.patch)
 * [http://wordpress.org/extend/plugins/bwp-minify/](http://wordpress.org/extend/plugins/bwp-minify/)

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Author [Khang Minh](https://wordpress.org/support/users/oddoneout/)
 * (@oddoneout)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-better-wordpress-minify-fatal-error-when-using-php-540/#post-2662344)
 * Thanks Rickard, the patch will be included in 1.2.1.
 *  [sarumbear](https://wordpress.org/support/users/sarumbear/)
 * (@sarumbear)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-better-wordpress-minify-fatal-error-when-using-php-540/#post-2662544)
 * When can we expect 1.2.1?
 *  [riddergraniet](https://wordpress.org/support/users/riddergraniet/)
 * (@riddergraniet)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/plugin-better-wordpress-minify-fatal-error-when-using-php-540/#post-2662574)
 * C’mon, it’s been 6 months now, don’t you think it is time to update this version?
   I’m using 5.4.4 locally and it’s only a matter of time before our host is going
   to upgrade too. Please update the repository with this patch.
 *  [sarumbear](https://wordpress.org/support/users/sarumbear/)
 * (@sarumbear)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/plugin-better-wordpress-minify-fatal-error-when-using-php-540/#post-2662575)
 * The word ‘better’ in the plugin title says it all. When things are advertised
   as ‘better’ they usually are the opposite.
 *  Plugin Author [Khang Minh](https://wordpress.org/support/users/oddoneout/)
 * (@oddoneout)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/plugin-better-wordpress-minify-fatal-error-when-using-php-540/#post-2662577)
 * [@sarumbear](https://wordpress.org/support/users/sarumbear/): I think you’re 
   assuming a few things there.
 * Anyway, I have plans to update all plugins this month, and an update for BWP 
   Minify is guaranteed this weekend.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘[Plugin: Better WordPress Minify] Fatal error when using PHP 5.4.0’ is
closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/bwp-minify.svg)
 * [Better WordPress Minify](https://wordpress.org/plugins/bwp-minify/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/bwp-minify/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/bwp-minify/)
 * [Active Topics](https://wordpress.org/support/plugin/bwp-minify/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/bwp-minify/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/bwp-minify/reviews/)

## Tags

 * [call-time pass-by-reference](https://wordpress.org/support/topic-tag/call-time-pass-by-reference/)

 * 5 replies
 * 4 participants
 * Last reply from: [Khang Minh](https://wordpress.org/support/users/oddoneout/)
 * Last activity: [13 years, 7 months ago](https://wordpress.org/support/topic/plugin-better-wordpress-minify-fatal-error-when-using-php-540/#post-2662577)
 * Status: resolved