Possible Patch for WSOD error
-
We had a WSOD when the plugin was accessed from outside the WordPress root. We found that the issue was related to using a relative path for the require_once call at the top of /types/embedded/common/toolset-forms/bootstrap.php starting at line 7. We were able to solve the issue by changing the reference to an absolute path. We changed lines 7-10 from
require_once 'api.php'; define('WPTOOLSET_FORMS_VERSION', '0.1.1'); define('WPTOOLSET_FORMS_ABSPATH', dirname(__FILE__));to
define('WPTOOLSET_FORMS_VERSION', '0.1.1'); define('WPTOOLSET_FORMS_ABSPATH', dirname(__FILE__)); require_once WPTOOLSET_FORMS_ABSPATH . '/api.php';
The topic ‘Possible Patch for WSOD error’ is closed to new replies.