[wp-trac] [WordPress Trac] #37444: Missing category.php produces 'Strict Standards: Only variables should be passed by reference' when falling back on archive.php

WordPress Trac noreply at wordpress.org
Sat Jul 23 13:49:44 UTC 2016


#37444: Missing category.php produces 'Strict Standards: Only variables should be
passed by reference' when falling back on archive.php
--------------------------+------------------------------
 Reporter:  crs1138       |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Themes        |     Version:  4.5.3
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:  template
--------------------------+------------------------------

Comment (by SergeyBiryukov):

 Hi @crs1138, welcome to Trac!

 > Strict Standards: Only variables should be passed by reference in
 /xxx/xxx/wp-includes/theme-compat/category.php(29) : runtime-created
 function on line 1

 There is no such file in WordPress core, see [source:tags/4.5.3/src/wp-
 includes/theme-compat].

 This seems like a hacked install. Could you share the contents of that
 file?

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


More information about the wp-trac mailing list