[wp-trac] [WordPress Trac] #47920: PHP Warning: Parameter 2 to qtranxf_postsFilter() expected to be a reference

WordPress Trac noreply at wordpress.org
Thu Aug 22 11:07:11 UTC 2019


#47920: PHP Warning:  Parameter 2 to qtranxf_postsFilter() expected to be a
reference
-----------------------------+-------------------------------
 Reporter:  blew2            |       Owner:  (none)
     Type:  feature request  |      Status:  closed
 Priority:  normal           |   Milestone:
Component:  Plugins          |     Version:  5.2.2
 Severity:  minor            |  Resolution:  invalid
 Keywords:                   |     Focuses:  coding-standards
-----------------------------+-------------------------------
Changes (by SergeyBiryukov):

 * status:  new => closed
 * resolution:   => invalid
 * component:  General => Plugins
 * milestone:  Awaiting Review =>


Comment:

 Hi there, welcome to WordPress Trac! Thanks for the ticket.

 Replying to [ticket:47920 blew2]:
 > or maybe the plugin creators should change their code to avoid modifying
 data in passed references?

 Yes, that would be the correct resolution here.

 Looks like the issue is already reported to plugin authors:
 https://github.com/qTranslate-Team/qtranslate-x/issues/544

 However, the plugin hasn't been updated in 3 years, and is apparently
 abandoned.

 This topic has some details on a workaround:
 https://wordpress.org/support/topic/problem-with-php-7-1-2/

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/47920#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list