WordPress.org

Support

Support » Plugins and Hacks » [Plugin: WordPress SEO by Yoast] Javascript Problem

[Plugin: WordPress SEO by Yoast] Javascript Problem

Viewing 14 replies - 1 through 14 (of 14 total)
  • cesargm
    Member

    @cesargm

    I have the same issues. It seems that anything that uses js for the admin is broken. On top of the ones you mentioned:

    – On posts: status, visibility and published are not working
    – Help and screen options on the top right are not working
    – On posts: choose from the most used tags… same story

    On the js console:

    post.php 2030 Uncaught TypeError: Object #<Object> has no method ‘pointer’

    WordPress Version: 3.1
    Wordpress SEO version: 1.2.8.3

    lahiru
    Member

    @lahiru

    I experience similar issues on WP 3.4.1 editor. I can no longer see the tags (bold, italic, link etc.) since I updated to 1.2.8.3. Disabling WordPress SEO brings it back.

    pixeline
    Participant

    @pixeline

    Here too. Here is the error message:
    TypeError: $(“#wpadminbar”).pointer is not a function
    http://www.domain.com/wp-admin/post.php?post=49685&action=edit
    Line 2584

    AMediaCompany
    Member

    @amediacompany

    Ditto. Version 3.2.1, same error (different line) as it’s inline JavaScript

    The following line causes the problem:

    setup = function () {
    				$('#wpadminbar').pointer(wpseo_pointer_options).pointer('open');
    ...
    }

    AMediaCompany
    Member

    @amediacompany

    A simple fix is to comment out the particular line (for the moment):

    File: [plugins]/wordpress-seo/admin/class-pointers.php
    Line: 220

    CHANGE TO:

    // 				$('<?php echo $selector; ?>').pointer(wpseo_pointer_options).pointer('open');

    The problem needs fixing by the plugin author though

    Narendra
    Member

    @narendrakothule

    i had same problem.
    AMediaCompany solution solve my problem.

    Thanks.

    Sudeep Acharya
    Member

    @sudeep611

    I had a same problem in my blog callthetricks.com. But after i re-installed plugin it was fixed.

    I’m seeing the same problem, even after updating to the current version of the plugin. Disabling the plugin makes the editing work properly. Otherwise: “- On posts: status, visibility and published are not working”

    (Yes, I reenabled the plugin after testing — I don’t want to confuse the search engines, and I’m sure there will be a fix soon.)

    Hmm. I should mention that this site is trapped on WordPress 3.2.1, in case this bit of code is not backward compatible.

    Isn’t .pointer using wp-pointers, which is a rather new feature? That should probably be wrapped in a WP version >= 3.3 test.

    My JavaScript console says:

    Uncaught TypeError: Object [object Object] has no method 'pointer' post.php:2322

    sahuspilwal
    Participant

    @sahuspilwal

    @amediacompany thanks this fixed it for me too after viewing the browser console log 😉

    The latest version of the plugin is still interfering with WP 3.2.1 admin functionality. The Appearance>Widget page is not allowing any Text widgets to be opened, and the widget buttons were not showing the title of the widget (as they usually do).

    Javascript console still reports “Uncaught TypeError: Object [object Object] has no method ‘pointer'”

    Disabling WordPress SEO allowed the widgets to be edited.

    EDIT: … and I also can’t close the admin Dashboard menu items. On WP 3.2.1, the menus on the left side can stay open to show the suboptions. I’m unable to close a menu to hide its options.

    The current version of the plugin seems to have Javascript which behaves better. I didn’t see any relevant change notes in recent updates.

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘[Plugin: WordPress SEO by Yoast] Javascript Problem’ is closed to new replies.