Undefined variable: keys
-
I get an Notice about undefined variable keys on existing taxonomies without alternative URLs:
Notice: Undefined variable: keys in /wp-content/plugins/hreflang-tags-by-dcgws/includes/functions.php on line 369
PHP Version: 7.2
Line 369:
if (count($keys) == 0) {
Suggested solution: Using empty($keys) instead of count
if (empty($keys)) {
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Undefined variable: keys’ is closed to new replies.