WordPress.org

Ready to get started?Download WordPress

Forums

All in One SEO Pack
this.attr is not a function (1 post)

  1. htobon
    Member
    Posted 2 years ago #

    Hello Michael Torbert and collaborators,

    The following error is appearing in my firebug console since some time ago even after the last update (1.6.14.2):

    this.attr is not a function

    It would be great if you can fix it because at this moment is causing problem with a library named prettyPhoto. This library just show a set of images in a good style, but is a principal part of one of my webs.

    I hope you can take part of your time to analyze this issue.

    Thanks in advance.

    NOTE:
    Since I'm not a PHP & WordPress expert, I just went to your plugin directory and edited the following file:
    all-in-one-seo-pack/aioseop.class.php
    and searched the following line:
    var href = this.attr('href');

    And I just put a false parameter to the "if" function where it is included:
    before:
    if(typeof jQuery == 'function')

    after:
    if(false)

    I know this is bad.. however with this change my web page is able to work.

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

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic