WordPress.org

Support

Support » Plugins and Hacks » WP-Invoice - Web Invoice and Billing » [Plugin: WP-Invoice – Web Invoice and Billing] Fatal Error with latest PHP 5

[Plugin: WP-Invoice – Web Invoice and Billing] Fatal Error with latest PHP 5

  • Plugin won’t activate because of PHP 5 changes (?):

    Fatal error: Call-time pass-by-reference has been removed in [..] wp-content\plugins\wp-invoice\core\wpi_invoice.php on line 243

    Could be to do with changes in PHP 5
    For example, use:

    // Right way!
    function myFunc(&$arg) { }
    myFunc($var);
    Rather than:

    // Wrong way!
    function myFunc($arg) { }
    myFunc(&$arg);

    http://wordpress.org/extend/plugins/wp-invoice/

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Contributor Anton Korotkoff

    @anton-korotkoff

    What version of PHP 5 do you actually use?

    I have exactly the same error.

    Created a fresh site (WAMP environment) with wp-invoice the only added plugin but got the same error.

    Using PHP 5.4.3

    ifingers

    @ifingers

    I am getting exactly the same error also.

    PHP 5.4.4 MAMP setup.

    kraket3

    @kraket3

    I’m getting the same error. Any fix?

    i just remove symbol ‘&’ in line 243 and 312.

    the PHP code not valid for PHP 5.

    So its can be activated now.

    Same error, any fixes?

    The error is still there. Just installed a fresh WP with WP-Invoice only and got “Fatal error: Call-time pass-by-reference has been removed in /var/www/development/htdocs/wp-content/plugins/wp-invoice/core/wpi_invoice.php on line 243” while activating.

    This is a LAMP system with PHP 5.4.11. Please fix your code.

    Plugin Contributor Anton Korotkoff

    @anton-korotkoff

    That should be fixed in last version. Please try upgrading.

    Thanks.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘[Plugin: WP-Invoice – Web Invoice and Billing] Fatal Error with latest PHP 5’ is closed to new replies.
Skip to toolbar