Forms not showing under PHP 7.4.28
-
We recently upgraded our server’s PHP version from 7.4.21 to 7.4.28. That was the ONLY change. We are running WordPress 5.8.4 with Ninja Forms 3.6.7. Now pages with any forms on them are showing a blank space where the form should be. It initially loads the Ninja Forms spinner for a second, then errors and shows nothing.
JS Console error:
Uncaught SyntaxError: expected expression, got '<'; referencing this file: ninja-forms/includes/Display/Render.php, line 386
When debugging and viewing the output HTML, it seems to be adding a ton of extra, seemingly random HTML span, i, strong, a tags to the very end, just after the
nfForms.push(form);
but before the closing</script>
I’ve attempted to disable all other plugins and it still happens. When disabling Ninja Forms itself, the errors go away, but so do forms functionality. I’ve changed to the default WP theme and still have this error/problem. I’ve upgraded Ninja Forms to the latest version 3.6.8-wp and it still happens. I’ve even tried rolling Ninja Forms plugin back several versions and it still happens. The only thing I can think of is the specific compatibility with PHP 7.4.28. What are the recommended PHP version currently compatible with Ninja Forms?
I even have had a support ticket submitted for several days now with no reply so far. Please advise.
- The topic ‘Forms not showing under PHP 7.4.28’ is closed to new replies.