Bug in compatibility.php conflicting with Ninja Forms and causing loss of data
-
I’m running into a strange conflict with Ninja Forms that I haven’t seen mentioned anywhere else. I made an unlisted YouTube video demonstrating the issue since it is a little hard to explain. You can view it here.
The video was made to demonstrate the issue to Ninja Forms support because I initially thought the issue was a problem with their plugin. However, thanks to them I believe we’ve identified the issue as a bug in the includes\compatibility.php portion of the Elementor plugin: specifically lines 93-103. It is a section titled “Hack for Ninja Forms.”
The issue is as follows:
* If I try to edit a page with Elementor while the Ninja Forms plugin is enabled, my server’s CPU pegs at 100% and the RAM slowly is completely used until the server crashes
* If I disable the Ninja Forms plugin, Elementor opens instantly
* If I delete an old form that is no longer needed, Elementor takes about 30 seconds to load, but then some of my Ninja Forms submission data disappears.
* Afterwards, Elementor works correctly for a while.
* Commenting out lines 93-103 of includes\compatibility.php resolves this issue and leaves my submission data intact. Elementor loads properly and my submission data remains intact.
It looks like this code is some kind of workaround to enable compatibility between Ninja Forms and Elementor, but it isn’t working properly.
Unfortunately I don’t have Elementor Pro so I don’t have direct access to their support. However this seems like a serious enough bug that they may be interested in looking into this. If Elementor wants to contact me directly, I can provide login credentials for my staging server that I used to make the demonstration video linked above.
- The topic ‘Bug in compatibility.php conflicting with Ninja Forms and causing loss of data’ is closed to new replies.