Undefined variable: errorfound
-
ISSUE:
PHP Notice: Undefined variable: errorfound in …/wp-ada-compliance-check-basic/res/rules/empty_th.php on line 35Causing the update of a post that contains a table with no errors to fail with the message “Updating failed. Undefined variable: errorfound”.
SOLUTION:
Check if
$errorFound
is not empty:if (!empty($errorfound) && $errorfound == 1) { ... }
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Undefined variable: errorfound’ is closed to new replies.