WordPress.org

Ready to get started?Download WordPress

Forums

All in One SEO Pack
[resolved] Featured Image Breaks (9 posts)

  1. dbrunsden
    Member
    Posted 8 months ago #

    The plugin breaks the ability to set a featured image. When I disable the plugin it starts working again...

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

  2. Peter Baylies
    Member
    Plugin Author

    Posted 8 months ago #

    dbrunsden,

    Check the console in your web browser and see if you have any Javascript errors on the page; this could be caused by a conflict with another plugin or with your theme as well.

  3. nashvillegeek
    Member
    Posted 8 months ago #

    I have the same issue. I disabled all plugins. When AIOSEO is activated, console shows the error:

    event.returnValue is deprecated. Please use the standard event.preventDefault() instead.
    XHR finished loading: "http://website.com/wp-admin/admin-ajax.php". load-scripts.php?c=1&load%5B%5D=jquery-core,jquery-migrate,utils,jquery-ui-core,thickbox,underscore…:5
    send load-scripts.php?c=1&load%5B%5D=jquery-core,jquery-migrate,utils,jquery-ui-core,thickbox,underscore…:5
    x.extend.ajax load-scripts.php?c=1&load%5B%5D=jquery-core,jquery-migrate,utils,jquery-ui-core,thickbox,underscore…:5
    e load-scripts.php?c=1&load%5B%5D=hoverIntent,common,admin-bar,schedule,wp-ajax-response,autosave,jqu…:74
    (anonymous function) load-scripts.php?c=1&load%5B%5D=hoverIntent,common,admin-bar,schedule,wp-ajax-response,autosave,jqu…:74

    This message continues to generate. De-activate and everything works as expected.

  4. Peter Baylies
    Member
    Plugin Author

    Posted 8 months ago #

    nashvillegeek,

    Thanks for the report; I haven't been able to reproduce this issue. If you're using Chrome, what version of Chrome are you using, and could you test this in another browser for me as well?

  5. nashvillegeek
    Member
    Posted 8 months ago #

    I've isolated this down to a theme issue. Strange that it is only associated with AIOSEO activation. I'll post back if I figure it out. Thanks.

  6. nashvillegeek
    Member
    Posted 8 months ago #

    The issue for us is 'add_theme_support('post-thumbnails');' was called after theme setup. We changed the code as follows:

    // add_action('after_setup_theme','bones_theme_support');
    bones_theme_support();

    Featured images are functioning as expected.

  7. Peter Baylies
    Member
    Plugin Author

    Posted 8 months ago #

    nashvillegeek,

    Nice catch, that makes sense. From the codex - "If called from a theme, it should be done in the theme's functions.php file to work". Thanks for tracking this down!

  8. nashvillegeek
    Member
    Posted 8 months ago #

    Yeah, Eddie Machado's Bones theme removed the add_action sometime back. The site in question was built prior to the update. I appreciate your timely responses.

  9. dbrunsden
    Member
    Posted 8 months ago #

    Thanks nashvillegeek!

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.