Dashboard stuck on Please Wait
-
When I click generate on any items in the dashboard, it is getting stuck on “Please Wait…”
WP Retina 1.0, WP 3.5.1, PHP 5.2 or 5.4 (tried both).
Using debug messages I traced where the issue is coming from, seems to be in the media.php function wp_get_image_editor().
It seems like $editor is a corrupted variable (if that is such a thing in PHP?). After it is instantiated, if I try to wr2x_log(“$editor”); that line seems to hang as I can’t print anything directly after it either.
Example 1:
if ( empty ($editor) ) { *THIS WON'T EXECUTE } *BUT A WR2X_LOG HERE WILL WORK*
Example 2:
if ( ! empty ($editor) ) {* THIS WON'T EXECUTE } *AND A WR2X_LOG HERE WON'T WORK EITHER*
Here is a snippet of the wp_get_image_editor() function with my comments of where it hangs:
if ( $implementation ) { **CAN PRINT DEBUG HERE** $editor = new $implementation( $path ); ** CAN PRINT DEBUG HERE** $loaded = $editor->load(); ** NEVER REACHES HERE TO PRINT DEBUG** if ( is_wp_error( $loaded ) ) return $loaded; return $editor; }
Viewing 14 replies - 1 through 14 (of 14 total)
Viewing 14 replies - 1 through 14 (of 14 total)
- The topic ‘Dashboard stuck on Please Wait’ is closed to new replies.