Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fatal Error upon activation on Media Temple #353

Closed
mathetos opened this issue Oct 19, 2015 · 0 comments
Closed

Fatal Error upon activation on Media Temple #353

mathetos opened this issue Oct 19, 2015 · 0 comments
Milestone

Comments

@mathetos
Copy link
Member

Uploaded latest to MediaTemple server and got the following Fatal Error upon activation:

Fatal error: Can't use function return value in write context in /.../html/wp-content/plugins/give/includes/admin/forms/metabox.php on line 29

The relevant line is:
$price = ! empty( give_get_form_price( $post_id ) ) ? give_get_form_price( $post_id ) : esc_attr( give_format_amount( '1.00' ) );

The SECOND answer here looks relevant because the MT server is running PHP 5.4:
http://stackoverflow.com/questions/1532693/weird-php-error-cant-use-function-return-value-in-write-context

@mathetos mathetos added this to the 1.3.1 milestone Oct 19, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant