Support » Plugin: All in One SEO Pack » Featured Image Breaks

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Contributor Peter Baylies

    (@pbaylies)

    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.

    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.

    Plugin Contributor Peter Baylies

    (@pbaylies)

    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?

    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.

    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.

    Plugin Contributor Peter Baylies

    (@pbaylies)

    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!

    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.

    Thanks nashvillegeek!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Featured Image Breaks’ is closed to new replies.