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

Can't use method return value in write context (PHP < 5.5) #506

Closed
yblatti opened this issue Dec 17, 2019 · 1 comment
Closed

Can't use method return value in write context (PHP < 5.5) #506

yblatti opened this issue Dec 17, 2019 · 1 comment

Comments

@yblatti
Copy link

yblatti commented Dec 17, 2019

Fatal error: Can't use method return value in write context in /htmlbase/components/com_k2/views/item/view.html.php on line 468.

This comes from the use of empty() on a return value.
empty() can only be used on return from PHP>=5.5. (https://www.php.net/manual/en/function.empty.php)

Since Joomla! is still compatible with PHP 5.3.10+ (https://downloads.joomla.org/technical-requirements). I suggest we do the same here.

@yblatti yblatti changed the title Can't use method return value in write context (PHP <= 5.4) Can't use method return value in write context (PHP < 5.5) Dec 17, 2019
@yblatti
Copy link
Author

yblatti commented Dec 18, 2019

Closed by #507

@yblatti yblatti closed this as completed Dec 18, 2019
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

Successfully merging a pull request may close this issue.

1 participant