WordPress.org

Ready to get started?Download WordPress

Forums

WordPress SEO by Yoast
Conflict with All-in-One Calendar: Titles and Metas Admin Page not (5 posts)

  1. djsmeltzer
    Member
    Posted 2 years ago #

    WordPress version: 3.4
    WordPress SEO version: 1.2.3
    All-in-One Calendar by Then.ly version: 1.7

    I did this:
    Updated WordPress SEO to version 1.2.3

    I expected the plugin to do this:
    Continue operating normally

    Instead it did this:
    All titles stopped generating and I could not access the Titles and Metas admin page. I get a javascript error in the console.

    allday.get(0) is undefined

    http://sitename.com/wp-content/plugins/all-in-one-event-calendar/app/view/admin/js/jquery.timespan.js?ver=1.7 line 305

    Disabling All-in-One Calendar by Then.ly resolves the problem. I'm not sure why this causes conflict on this specific admin page when the rest of WordPress SEO appears to operate normally, but wanted to make this issue known.

    http://wordpress.org/extend/plugins/wordpress-seo/

  2. Will D. White
    Member
    Posted 2 years ago #

    I can confirm this issue exists and can be reproduced.

    I have the same setup and haven't found a workaround that will allow me to run both plugins simultaneously.

  3. Will D. White
    Member
    Posted 2 years ago #

    Here's the solution - Download and install the RC2 version of the upcoming version of the plugin.

    http://then.ly/rc/1.8/

    They have fixed this bug in the next version - and running the beta until they release the full version will fix this problem.

  4. slowbutsteady
    Member
    Posted 2 years ago #

    I installed the 1.8 Premium RC2 version and received this error message: Fatal error: Call to a member function add_cap() on a non-object in /home/-----/public_html/wp/wp-content/plugins/all-in-one-event-calendar/app/helper/class-ai1ec-platform-helper.php on line 95

    Any ideas on how to resolve this?

  5. Will D. White
    Member
    Posted 2 years ago #

    It looks like its having trouble adding capabilities to user roles.

    The specific line (95) seems to be trying to add the "edit_posts" capability to the "contributor" role.

    Are you running with altered user roles - either by changing the roles in the database or through a user-management plugin? If so, try deactivating the plugin.

    If that doesn't work try commenting out the contributor case in the file mentioned in your error - "class-ai1ec-platform-helper.php" in the app/helper folder.

    Change:

    case 'contributor':
    	$role->$action( 'edit_posts' );
    	$role->$action( 'delete_posts' );

    To:

    /* case 'contributor':
    	$role->$action( 'edit_posts' );
    	$role->$action( 'delete_posts' ); */

    That should remove the ability for contributors to edit any events - but should hopefully also potentially fix your issue.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic