• Resolved Ron5

    (@ron5)


    I have updated to WordPress 5.0. On some pages I get the following error:

    Failed to load plugin url: …/wp-content/plugins/post-snippets/tinymce/langs/nl.js

    I see the plugin is only compatible with WP 4.9.9.

    When can we expect compatibility with WP 5.0?

Viewing 15 replies - 1 through 15 (of 15 total)
  • The error is strange, I didn’t get that when testing with WP5.0. I’ll check it again.

    I don’t have an expectation about WP5.0 yet, I’ll have some news within a few weeks.

    Any news on WP 5 compatibility? I was using this to grant permissions to Editors, but it’s now stopped working under WP 5…

    define('POST_SNIPPETS_ALLOW_EDIT_POSTS', true);

    Please advise.

    Thanks,
    Michael

    Hi Michael,

    just checked with 5.0.3 and it works. Is there a specific missing feature from your editor user?

    Cheers,
    Diego

    It doesn’t look like it. My understanding is that the function allowed all users with the ability to Edit Posts to Edit Post Snippets, which the Role has. But the user get’s an error when trying to save changes to Post Snippets:

    Forbidden:
    You don’t have permission to access /wordpress/wp-admin/options-general.php on this server.

    Odd that the error is in regards to options (i.e. options-general.php), not posts, though. “Manage Options” is not a default Editor Role permission.

    I’m using the Members plugin, and can’t seem to add the option to “Manage Options”, which I’ve alerted the Members author about, but I thought that function was dependent on “Edit Posts” not “Manage Options”.

    -Michael

    • This reply was modified 5 years, 10 months ago by mpmchugh.
    • This reply was modified 5 years, 10 months ago by mpmchugh.

    If you want to change WP options you need the “manage_options” capability, so I guess the Member plugin is removing this capability and that explains why you can see the menu entry but you’re then not able to make changes.

    However, the Editor role, which does have the “manage_options” capability also gets the same error.

    When you tested the function were you actually able to save changes to Post Snippets? Both roles in question can see Post Snippets, but the error happens when trying to save a change to one.

    Odd. Just now realized that even my Admin account is getting the same error when saving. Hadn’t even though to check that.

    Could this just be some weird server permissions issue? Or with a server upgrade?We recently updated to WordPress 5 and also to PHP 7.2.13.

    I’ll check with the admin to see if they can see anything amiss, but Post Snippets is the only plugin giving the error.

    Even with the Members plugin disabled, and the function removed, I cannot save any changes to Post Snippets, and get the same error when trying:

    Forbidden:
    You don’t have permission to access /wordpress/wp-admin/options-general.php on this server.

    So, now I’m stumped.

    Any ideas?

    • This reply was modified 5 years, 10 months ago by mpmchugh.
    Thread Starter Ron5

    (@ron5)

    I confirm it’s working even with an editor role: https://www.screencast.com/t/6FJHurAI8sQ7

    I’m using WP 5.0.3 and PHP 7.2.9

    Maybe something on your browser? Already tried to clean cache and cookies (or from anonymous)?

    It’s not a browser issue, as I get the same results in Safari, Firefox and Chrome on two different MacOS computers.

    I’m using WP 5.0.3 and PHP 7.2.13.

    Having our host look into any permissions anomalies, but that file is used by all Settings, no? Only Post Snippets is having an issue saving.

    Our host reported back that there’s nothing wrong with the file permissions, so I’m stumped why it’s not working at all now.

    Still stumped. Further testing shows that I can edit and save the “Exclude from Custom Editors” item on the Options tab, and I can Import/Export snippets, but I can’t save any changes to snippets or anything else on the Manage Snippets tab.

    Clicking “Add a New Snippets” generates the same error, as does “Delete Selected”.

    Forbidden
    You don’t have permission to access /wordpress/wp-admin/options-general.php on this server.

    Finally figured out that it was a security scanner on our Plesk hosting install that was blocking the page as some of the snippets contained php that it found suspect, so it blocked access to the page when trying to save.

    We were able to whitelist our IPs to allow the pages to be saved until we figure out exactly why the php in question was tripping the scanner.

    Thanks,
    Michael

    Hi Michael,

    thanks for reporting that! It’ll be useful for similar cases.

    Diego

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘WordPress 5.0’ is closed to new replies.