Warning: Parameter 2 to test_call() expected to be a reference, value given
ARTICLE CONTENT:
Solution
In AccessAlly 2.2.9, we have added an option in AccessAlly Settings → General Setup → Dispaly Settings → (Advanced) Always enable “found_posts” filter.
This option is only shown if the server is running PHP 7.1 or higher, which are the only versions that are affected by the PHP bug.
We recommend NOT enabling the option unless you need the post-filtering feature.
IMPORTANT: Once enabled, please check the front end to make sure the warning message is NOT shown. The warning might look similar to the following (Parameter 2 to AccessAlly::filter_post_list() expected to be a reference):
If it is, please contact your server host to disable verbose error reporting.
Alternative Solution To Hide Warning
If the server host is not able to configure the PHP to hide the warning, you can install the “Turn error off” plugin to hide the warnings.