Title: PHP error with PHP version 7.1* FIX
Last modified: April 11, 2017

---

# PHP error with PHP version 7.1* FIX

 *  [DamirCalusic](https://wordpress.org/support/users/webkreativ/)
 * (@webkreativ)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/php-error-with-php-version-7-1-fix/)
 * Following error `[error] 8783#8783: *85967 FastCGI sent in stderr: "PHP message:
   PHP Warning: Parameter 2 to qtranxf_postsFilter() expected to be a reference,
   value given in /var/xxx/wp-includes/class-wp-hook.php on line 298` is fixed by
   removing the `&` in line 523 in qtranslate_frontend.php where it stands `function
   qtranxf_postsFilter($posts,&$query) {//WP_Query`. Just rename it to `function
   qtranxf_postsFilter($posts,$query) {//WP_Query`
 * Best regards.

The topic ‘PHP error with PHP version 7.1* FIX’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/qtranslate-x_f9f9f9.svg)
 * [qTranslate X](https://wordpress.org/plugins/qtranslate-x/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/qtranslate-x/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/qtranslate-x/)
 * [Active Topics](https://wordpress.org/support/plugin/qtranslate-x/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/qtranslate-x/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/qtranslate-x/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [DamirCalusic](https://wordpress.org/support/users/webkreativ/)
 * Last activity: [9 years, 2 months ago](https://wordpress.org/support/topic/php-error-with-php-version-7-1-fix/)
 * Status: not resolved