-
Hi Guys
Rank Math is causing my divi builder to load to a white blank page. My dev tells me this:
I’ve investigated the issue with the Divi editor showing a white screen when trying to edit pages.
As my first approach, I increased the WordPress memory limits in wp-config.php from 256M to 512M and from 512M to 1024M to rule out resource limitations:
define( ‘WP_MEMORY_LIMIT’, ‘512M’ ); define( ‘WP_MAX_MEMORY_LIMIT’, ‘1024M’ );
However, this did not resolve the issue.
Digging deeper, I found the root cause is a JavaScript conflict between Divi and the Rank Math SEO plugin. Rank Math loads a divi.js script that requires React 18, but Divi currently uses React 16.14, causing a fatal React error (createRoot is not a function) and resulting in the white screen.
To fix this, I have:
* Disabled all WordPress and plugin caches.
* Confirmed Divi, WordPress core, and plugins are fully updated.
* Added a filter in the theme’s functions.php file to disable Rank Math’s Divi integration:
add_filter( ‘rank_math/divi/enabled’, ‘__return_false’ );
Can you provide and update or fix please?
Kind Regards
Mark
The ticket ‘Divi Builder’ is closed to new replies.