Tagged: php notice
Hi,
my debug.log
on a website with Enfold 4.2.3 is getting filled with the following PHP notices:
PHP Notice: Undefined variable: elements in /[redacted]/wordpress/wp-content/themes/enfold/config-wordpress-seo/config.php on line 154
It’s however easy to fix this notice. The reported line currently reads:
), $elements, $post_id);
But there’s no $elements
variable to pass to the multi-line apply_filters
call – you probably want to pass an empty array:
), array(), $post_id);
Please, ask your devs to have a look at it, it’s an easy to fix issue. Would be perfect to have it fixed in next Enfold version.
Cheers,
Česlav
Hey bluechip1,
We have forward the message to our developers, so they can take a look at the issue and get it shorted.
Best regards,
Basilis