Support

Account

Forum Replies Created

  • @elliot Condon

    Thanks, I fixed the issue, I was hiding sidebar items from contributors and after googling a few things I found someone with similar error and they said that I needed to change

    add_action( ‘admin_init’, ‘contributor_remove_menu_pages’ );

    to

    add_action( ‘admin_menu’, ‘contributor_remove_menu_pages’ );

    Apparently admin_init was causing the issue, I was assuming it was ACF 5 since the issue only occurred once I updated to ACF 5 and when I downgraded back to 4 everything was working fine again but luckily I think I have everything fixed now.

    Thanks

  • Hi Elliot, @elliot

    When I”m logged in as a contributor and am looking at the console the only error I see which is when I open up a post to edit is this.

    Uncaught TypeError: Cannot read property ‘keyup’ of undefined wp-seo-metabox.min.js?ver=1.5.4.2:1
    (anonymous function) wp-seo-metabox.min.js?ver=1.5.4.2:1
    j load-scripts.php?c=1&load%5B%5D=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jq…:2
    k.fireWith load-scripts.php?c=1&load%5B%5D=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jq…:2
    n.extend.ready load-scripts.php?c=1&load%5B%5D=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jq…:2
    K load-scripts.php?c=1&load%5B%5D=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jq…:2

    When I click update on a post nothing happens in the console so I’m not sure if this is the error you are looking for.

    When I look at the network something interesting happens, pretty much it seems like every 20 – 30 seconds it recalls admin-ajax.php and that the update button wont go through as it just keeps spinning but it will just keep calling admin-ajax.php.

    I’m also getting a errors with admin-ajax.php. I’ve attached a few images showing both these issues.

    http://i.imgur.com/coJ7jYK.png?1

    http://i.imgur.com/Qp9z07U.png?1

    Again it seems that this issue with the ability to publish and to update posts is only happening for our contributors as Admins and Author’s don’t seem to have any issues.

  • @junixvillacorta when I use the code you provided and now in all my custom fields the content that I put in there for that first post is stuck there all the time. When I refresh the page or try a different browser the forms are still populated with the original content that I put in.

Viewing 3 posts - 1 through 3 (of 3 total)