Open ecgan opened 3 days ago
This is what I had recently. Looks like a problem with some folder permissions when installing. JS calls the script which is not accessible.
Looks like a problem with some folder permissions when installing.
@message-dimke , this is not the case for this issue here. This issue does not happen when we use WordPress 6.5; it happens when we use WordPress 6.6.
The cause of the issue is due to some breaking changes in WordPress 6.6.
References:
This can be fixed by adding regenerator-runtime
as a dependency explicitly. I'll come up with a PR shortly.
Describe the bug:
I'm doing WordPress 6.6 compatibility testing in issue https://github.com/woocommerce/pinterest-for-woocommerce/issues/1030.
I found that when we are using WordPress 6.6-RC2, the Pinterest plugin admin landing page (
/wp-admin/admin.php?page=wc-admin&path=%2Fpinterest%2Flanding
) shows "Sorry, you are not allowed to access this page."There is also a console error:
I have a feeling that this is related to conflict with WordPress packages (e.g.
@wordpress/data
package, dependency extraction).This issue does not happen when I downgrade to WordPress version 6.5.
Steps to reproduce:
Expected behavior:
Pinterest plugin should show landing page.
Actual behavior:
Pinterest plugin will show error message as per screenshot above.