flynsarmy
Member
Posted 2 months ago #
When visiting page 2 of my site I was getting the warning
Notice: Undefined variable: has_ut in /path/to/wp-content/plugins/all-in-one-seo-pack/aioseop.class.php on line 567
which was this line:
if ($has_ut) {
Just change it to
if (!empty($has_ut)) {
http://wordpress.org/extend/plugins/all-in-one-seo-pack/
Actually - the variable $has_ut is created in another function using
$has_ut = function_exists('user_trailingslashit');
Since $has_ut is only used on line 567 in yoast_get_paged of All_in_One_SEO_Pack, it might be better to use this:
if (function_exists('user_trailingslashit'))