Support » Plugin: Block Lab » “Parent page” dropdown missing with “Block Lab” activated

  • Resolved larryral

    (@larryral)


    With “Block lab” installed, “Parent page” dropdown from “Page Options” disappears. If Block Lab is deactivated, I can choose a parent page.

    There is a javascript error in the (Gutenberg) editor:

    Unhandled promise rejection
    Response { type: "basic", url: "https://test.local/wp-json/wp/v2/pages?per_page=100&exclude=577&parent_exclude=577&orderby=menu_order&order=asc&context=edit&_locale=user", redirected: false, status: 500, ok: false, statusText: "Internal Server Error", headers: Headers, body: ReadableStream, bodyUsed: false }
    wp-polyfill.min.js:2:31500

    The json response is:

    code	"rest_forbidden_context"
    message	"Du har desværre ikke tilladelse til at redigere indlæg af denne indholdstype." //Unfortunately, you do not have permission to edit posts of this content type.
    data
      status	401

    Are there some permissions I need to set?

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Luke Carbis

    (@lukecarbis)

    Hi @larryral – thanks for reporting this.

    Having trouble replicating the issue. Here’s a screencast of how it’s working for me: https://imgur.com/a/9kJNqqQ

    I’ve tried with and without Block Lab blocks added to the page.

    Perhaps it’s a plugin conflict? Which other plugins do you have installed?

    Hello @lukecarbis !
    You are right, I couldn’t reproduce it on another wordpress installation. It was not a Block Lab issue.

    The problem was that WPML “Multilangual Content setup” in Block lab was set as “Make ‘Content Blocks’ appear as translated”, and the user language was not set to default. Now “Do not make ‘Content Blocks’ translatable” is checked and everything works fine 🙂

    Thank you for your time, it really helped me solving the issue!

    The plugin is great and really helpful!

    Plugin Author Luke Carbis

    (@lukecarbis)

    Glad we could figure it out @larryral!

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.