Fixes for numerous php notices
-
Variables changed names, typos, missing variables, Just lots of misc issues spamming up my php error log.
List of change lines:
related_blocks.php +61
$list_Style = $aio_related_posts_settings[‘list_Style’]
to
$list_Style = (isset($aio_related_posts_settings[‘list_Style’]) ? $aio_related_posts_settings[‘list_Style’] : ”);related_blocks.php +71
if ($search_counter == $limit) break;
to
if (isset($search_counter) && $search_counter == $limit) break;related.php +211
aio_thumbw -> list_thumbw
aio_thumbh -> list_thumbhrelated.php +261
$default_thumb -> $thumb_defaultrelated.php +355
get_settings -> get_optionrelated_blocks_style.php +160 & +178
$rpwpluginsurl -> $aiopluginsurlrelated_blocks_style.php + 227
$$thumbw -> $thumbwthe_globals.php
Many issues, all revolving around if $post is empty (or otherwise not an object).
I leave up to you to fix.
also it doesn’t seem to like
$result[0]->term_id
used instead
$result[0][‘term_id’] same as in the for loop belowhttps://ww.wp.xz.cn/plugins/related-posts-list-grid-and-slider-all-in-one/
The topic ‘Fixes for numerous php notices’ is closed to new replies.