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

WordPress Trac noreply at wordpress.org
Fri May 10 11:35:13 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        |   Keywords:
  Focuses:  multisite     |
--------------------------+-----------------------------
 switch_to_blog() causes a fatal error "Allowed memory size of XXX bytes
 exhausted" on class-wpdb.php.
 Does not happen when users are logged into the WordPress backend.
 Tested on classic themes including Twenty Twenty-One. Twenty Twenty-Four
 seems to not be affected.
 Tested on WP versions 6.5.2 and 6.5.3. WP version 6.4.x not affected.

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


More information about the wp-trac mailing list