WordPress.org

Support

Support » Plugins and Hacks » All in One SEO Pack » [Resolved] [Plugin: All in One SEO Pack] Errors

[Resolved] [Plugin: All in One SEO Pack] Errors

  • In file “aioseop.class.php” is a notice at line 555: $has_ut and i have added isset($has_ut) && so the function yoast_get_paged looks like this:

    function yoast_get_paged($link) {
    			$page = get_query_var('paged');
    	        if ($page && $page > 1) {
    	            $link = trailingslashit($link) ."page/". "$page";
    	            if (isset($has_ut) && $has_ut) {
    	                $link = user_trailingslashit($link, 'paged');
    	            } else {
    	                $link .= '/';
    	            }
    			}
    			return $link;
    	}

    And another notice as line 2129:
    <input type="text" name="aiosp_google_publisher" value="<?php echo $aioseop_options['aiosp_google_publisher']; ?>" size="38"/>
    and i have added @ in front of $aioseop_options['aiosp_google_publisher'] and now it looks like this:

    <input type="text" name="aiosp_google_publisher" value="<?php echo @$aioseop_options['aiosp_google_publisher']; ?>" size="38"/>

    http://wordpress.org/extend/plugins/all-in-one-seo-pack/

Viewing 4 replies - 1 through 4 (of 4 total)
  • has_ut error persists after update. Error occurs when accessing second page (“older posts”)

    Plugin Contributor Peter Baylies

    @pbaylies

    NemoXP,

    Thanks for the information, I’ll see that it gets fixed; note that $has_ut doesn’t have scope there. Really that should look like this:

    function yoast_get_paged($link) {
    		$page = get_query_var('paged');
    	        if ($page && $page > 1) {
    	            $link = trailingslashit($link) ."page/". "$page";
    	            if (function_exists('user_trailingslashit')) {
    	                $link = user_trailingslashit($link, 'paged');
    	            } else {
    	                $link .= '/';
    	            }
    		}
    		return $link;
    	}

    Another 2 Notices when creating a new post:
    Notice: Undefined index: aiosp_edit in /home/dxdhost.ro/public_html/web-host/wp-content/plugins/all-in-one-seo-pack/aioseop.class.php on line 1154

    Notice: Undefined index: nonce-aioseop-edit in /home/dxdhost.ro/public_html/web-host/wp-content/plugins/all-in-one-seo-pack/aioseop.class.php on line 1155

    $awmp_edit = $_POST[“aiosp_edit”];
    $nonce = $_POST[‘nonce-aioseop-edit’];

    // my change:
    $awmp_edit = (isset($_POST[“aiosp_edit”])?$_POST[“aiosp_edit”]:”);
    $nonce = (isset($_POST[“nonce-aioseop-edit”])?$_POST[“nonce-aioseop-edit”]:”);

    Plugin Contributor Peter Baylies

    @pbaylies

    Thank you for the reports, Nemo.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Resolved] [Plugin: All in One SEO Pack] Errors’ is closed to new replies.
Skip to toolbar