PHP 7.1 Warning
-
In wordpress root, where is wp-contents folder, PHP 7.1 gives a warning in error_log.
[06-Mar-2017 23:49:32 UTC] PHP Warning: Parameter 2 to qtranxf_excludeUntranslatedPosts() expected to be a reference, value given in /home/[---]/public_html/wp-includes/class-wp-hook.php on line 298 [06-Mar-2017 23:49:32 UTC] PHP Warning: Parameter 2 to qtranxf_postsFilter() expected to be a reference, value given in /home/[---]/public_html/wp-includes/class-wp-hook.php on line 298
It doesn’t throw warnings on PHP 5.6 or 7 .
Looks like it happens when switching languages, and there is/are some hidden untranslated post/posts.Thanks,
Hrant
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘PHP 7.1 Warning’ is closed to new replies.