[wp-trac] [WordPress Trac] #61188: switch_to_blog() causes Fatal error on classic themes

WordPress Trac noreply at wordpress.org
Mon May 13 10:19:40 UTC 2024


#61188: switch_to_blog() causes Fatal error on classic themes
-------------------------------+------------------------------
 Reporter:  digberlin          |       Owner:  (none)
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Themes             |     Version:  6.5.3
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |     Focuses:  multisite
-------------------------------+------------------------------

Comment (by digberlin):

 Replying to [comment:3 swissspidy]:
 > I still can't reproduce this with such a setup on 6.5. With multiple
 sites using Twenty Twenty-One, I added some code to `functions.php` and
 switching to a different site and getting some posts from there works just
 fine.
 >
 > Maybe someone else has more luck; otherwise it sounds more like an issue
 with your specific setup.

 Where you logged into the WordPress backend while testing? The error does
 not occur when being logged in.

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


More information about the wp-trac mailing list