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
PHP Notice: Only variables should be passed by reference #143
Comments
I will take care of this one today. I have encountered this problem before and I know the solution. The output of |
I have created a PR to correct this notice. It introduces no breaking changes and is functionally exactly the same - it just rearranges things to satisfy strict php notice about this. |
Thanks @pattonwebz! I was able to confirm that this PR (#429) fixes the issue. Also quoting from my comment there:
|
Also adds an automated test to cover the related code. Fixes #427.
Trying ClassicPress 1.0.1 conversion from WP 5.2.2, my debug_log file has
That line of code is
$active = array_shift( array_keys( $feeds ) );
The dashboard is showing two widgets with feeds (petitions and blog).
Possible solution
This could be because of using the same database as WordPress was using? It went through a page that updated the database, though.
Steps to reproduce
The text was updated successfully, but these errors were encountered: