Make WordPress Core

Opened 6 months ago

Closed 2 months ago

#60925 closed defect (bug) (invalid)

defect (bug): WP 6.5 | function "multisite_over_quota_message" not found or invalid function name

Reported by: allenfuller's profile allenfuller Owned by:
Milestone: Priority: normal
Severity: normal Version: 6.5
Component: Networks and Sites Keywords:
Focuses: multisite Cc:

Description

After updating to WordPress 6.5 on a multisite, for a subsite using more than the default quota of storage, the following PHP error appears in the server logs.

Site details:

  • WordPress 6.5 (multisite)
  • Divi Builder plugin

Issue: the error resulted in the Divi Builder not loading (and possibly affecting other plugins loaded in the editor).

After increasing the subsite's allowable storage quota, the error resolved and the Divi Builder loaded normally.

PHP Fatal error: Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, function "multisite_over_quota_message" not found or invalid function name in /nas/content/live/rootshq/wp-includes/class-wp-hook.php:324
Stack trace:
#0 /nas/content/live/rootshq/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters('', Array)
#1 /nas/content/live/rootshq/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#2 /nas/content/live/rootshq/wp-includes/media-template.php(258): do_action('upload_ui_over_...')
#3 /nas/content/live/rootshq/wp-includes/class-wp-hook.php(324): wp_print_media_templates('')
#4 /nas/content/live/rootshq/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)
#5 /nas/content/live/rootshq/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#6 /nas/content/live/rootshq/wp-includes/general-template.php(3066): do_action('wp_footer')
#7 /nas/content/live/rootshq/wp-content/themes/Divi/includes/builder/frontend-builder/bfb-template.php(51): wp_footer()
#8 /nas/content/live/rootshq/wp-includes/template-loader.php(106): include('/nas/content/li...')
#9 /nas/content/live/rootshq/wp-blog-header.php(19): require_once('/nas/content/li...')
#10 /nas/content/live/rootshq/index.php(17): require('/nas/content/li...')
#11 {main}
 thrown in /nas/content/live/rootshq/wp-includes/class-wp-hook.php on line 324, referer: https://www.rootshq.com/wp-admin/post.php?post=644&action=edit

Change History (1)

#1 @desrosj
2 months ago

  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from new to closed

Hi @allenfuller, welcome to Trac!

My apologies that this took so long to receive a response.

Are you still able to reproduce this in the latest version of WordPress (currently 6.6.1)? I don't have a version of Divi to test. But based on the error message and stack trace, it seems like a bug in Divi itself. The multisite_over_quota_message() function is not loaded by default on the edit post screen, so it's likely a missing include/require` in the plugin's code.

I'm going to close this out because all of the details provided so far point to this not being a problem in WordPress itself. If you have more details or are able to reproduce this without any plugins active, feel free to reopen with more detailed steps for someone else to reproduce.

Note: See TracTickets for help on using tickets.