We have solved inserting a declaration of $social_link_schema just before IF block.
Please, solve it for next release! :))
Hi, i too have this exact error on my website. I am struggling to resolve it. Plaese could you tell me where exacty you inserted the code $social_link_schema
I have gone into SEO Pack, opened the opengraph.php file then im just not sure where to paste this code? Your help would be greatly appreciated.
Thanks
Of course!
You have to put it at line 784 just before IF block:
$social_link_schema = ”;
if ( !empty( $social_links ) ) { … }
Hi, thanks for responding π
this is what currently sits in row 784 and 785 (see below)
foreach( $filtered_value as $f ) {
echo ‘<meta ‘ . $tags[$t][‘name’] . ‘=”‘ . $v . ‘” ‘ . $tags[$t][‘value’] . ‘=”‘ . $f . ‘” />’ . “\n”;
do i delete this and replace with the code you gave me?
thanks, im abit of a novice at coding errors
Ooops… line 789 sorry π
The problem was resolved. Thank you!