Amp-wp: Cloudinary Plugin Conflict - Can't add new post or page

Created on 23 Oct 2020  路  2Comments  路  Source: ampproject/amp-wp

Bug Description

As reported in the WordPress support forums when using the AMP plugin along with the Cloudinary plugin it's not possible to create a new page or post, with the below error appearing:

image
As soon as Cloudinary is activated the below console error appears (regardless of whether AMP plugin is active):

common.min.js?ver=5.5.1:2 tagsSuggestL10n.tagDelimiter is deprecated since version 5.5.0! Use wp.i18n instead.
a @ common.min.js?ver=5.5.1:2

The below console errors appear when editing a post (without the AMP plugin active) - featured images can be accessed

image

As soon as the AMP plugin is active the error occurs as per the initial screenshot above - _The editor has encountered an unexpected error._ The "Attempt recovery" button fails to resolve the issue.

Steps to reproduce

  1. Install the latest AMP and Cloudinary plugins
  2. Try to create a new post or page (with the default WordPress editor)
  3. If the editor opens open the Featured image panel and click to open an image
  4. Error appears & it's no longer possible to create a new post or page (or edit existing content)

Screenshots

consoleerror

featuredimg

image

Full log file here

Additional context

  • WordPress version: 5.5.1
  • AMP plugin 2.0.5
  • Cloudinary plugin 2.3.0
  • Doesn't occur with classic editor, only Gutenburg. Initial report mentions issues with WP Bakery
  • Issue initially didn't occur until clicking feature image button

_Do not alter or remove anything below. The following sections will be managed by moderators only._

Acceptance criteria

Implementation brief

QA testing instructions

Demo

Changelog entry

Support

Most helpful comment

I'm submitting a fix for this on the Cloudinary plugin repo.

All 2 comments

I'm submitting a fix for this on the Cloudinary plugin repo.

@jamesozzie Thanks for the excellent bug report.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

swissspidy picture swissspidy  路  3Comments

KhalidAlmallahi picture KhalidAlmallahi  路  4Comments

alexhaller picture alexhaller  路  5Comments

westonruter picture westonruter  路  5Comments

ernee picture ernee  路  4Comments