Support » Plugin: Permalink Manager Lite » Conflict with Yoast SEO

  • Resolved shapal

    (@shapal)


    Recently, we found a bug in the backend: When in the classic editor of either a page or post, if I click on the “slug,” “SEO title” or “meta description” fields of the Yoast metabox, the the entire Yoast metabox collapses and can’t be opened without refreshing the page. The result is that these fields cannot be edited. This problem doesn’t happen when in the block editor. Checking all the plugins (that is, deactivating all and the reactivating one by one) I determined that the conflict is with Permalink Manager Lite (current installed version: 2.2.19.1). In fairness to you, I’m pretty sure the Yoast plugin has had an update more recently than yours, so they “caused” the conflict–and I’m reaching out to them to them with this problem as well. Still, I’d be grateful if you could look into it. Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Maciej Bis

    (@mbis)

    Hi @shapal,

    Unfortunately, I was unable to reproduce this bug in my test environment, and it seems that another plugin, in addition to Permalink Manager and Yoast SEO, is involved in this bug.

    If possible, could you provide me a screenshot of the console log from your web browser? This should help narrow down the root of the issue.

    Using Your Browser to Diagnose JavaScript Errors

    Best regards,
    Maciej

    Plugin Author Maciej Bis

    (@mbis)

    Hi again @shapal,

    I have received a few similar bug reports, and it seems they are all caused by the modification I made in version 2.2.19 to enhance Gutenberg’s URI Editor reloading.

    The new code makes use of an object [wp.data.select(‘core/edit-post’)] that is accessible and loaded along with the rest of the Gutenberg editor. The issue is that other third-party plugins use Block Editor inside their interfaces but do not load the exact object that my plugin uses. As a result, my plugin tries to register an event that does not exist [wp.data.select(‘core/edit-post’).isSavingMetaBoxes()], resulting in the JS error.

    To fix it, I added an additional condition that requires the plugin to verify if the “wp.data.select(‘core/edit-post’)” object is accessible before using it:
    https://plugins.trac.wordpress.org/changeset/2753788#file1

    Could you try to update the plugin to 2.2.19.2 version?
    Sorry for all the trouble it caused!

    Best regards,
    Maciej

    Thread Starter shapal

    (@shapal)

    I updated the plugin, flushed the server cache, and everything seems to be working as it should. Thank you so much for your quick response!

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