-
AuthorPosts
-
March 17, 2026 at 4:40 pm #1496104
Subject: CRITICAL: Enfold 7.1.4 Redirect Failure & PHP Fatal Error (get_page_permastruct on null)
“Dear Enfold Support Team,
I am experiencing a critical issue with Enfold 7.1.4 on a site running the latest WordPress version and PHP 8.1 (also tested with 8.2 and 8.3).
The Problem:
A registration form (created with DigiMember) has stopped functioning correctly. While the user is successfully registered in the database, the AJAX redirect to the thank-you page fails completely. The button does not trigger the redirect, leaving the user stuck on the form page.Technical Analysis & Error Logs:
The error logs show that the process is interrupted by a Fatal Error within the WordPress core, triggered during an AJAX call. Even with PHP 8.1, I get the following stack trace:PHP Fatal error: Uncaught Error: Call to a member function get_page_permastruct() on null in …/wp-includes/link-template.php:435
Stack Trace highlights:
#0 …/wp-includes/link-template.php(397): _get_page_link()
#1 …/wp-includes/link-template.php(197): get_page_link()
#2 …/plugins/digimember/…/payment_handler.php(878): get_permalink()
Additionally, the log is flooded with hundreds of deprecated warnings regarding the Enfold core:
PHP Deprecated: Class avia_style_generator was called with an argument that has been deprecated since version 5.3! Trying to set protected/private property: avia_style_generator::print_extra_output.Environment:
Enfold Version: 7.1.4WordPress: Latest (6.9.1)
PHP: 8.1.34
Active Plugins: Cookiebot, DigiMember, GetResponse.
It seems that the way Enfold handles the style generator or AJAX environment is causing WordPress to lose its permastruct context, leading to the null error during the redirect.
Do you have a temporary fix, a filter for my child theme’s functions.php, or a patch to resolve this redirect failure? This is currently breaking my sales funnel.
Best regards,”
-
AuthorPosts
- You must be logged in to reply to this topic.
