drupalwxt / wxt

Drupal 10 variant of the Web Experience Toolkit (WxT).
https://drupalwxt.github.io
GNU General Public License v2.0
26 stars 27 forks source link

AJAX error with Configuration objects #214

Closed locutux closed 4 years ago

locutux commented 4 years ago

Hi,

New local install of your WXT 8.x-3.010 tarball, on a new PHP 7.4.6 NTS and Windows 10/IIS.

When I try to access Media library on a page, or add content, I systematically get the following error:

An AJAX HTTP error occurred.
HTTP Result Code: 200
Debugging information follows.
Path: /core/install.php?profile=wxt&langcode=fr&continue=1&id=3&op=do_nojs&op=do
StatusText: OK
ResponseText: Drupal\Core\Config\PreExistingConfigException: Configuration objects (language.entity.fr) provided by wxt_ext_translation already exist in active configuration in Drupal\Core\Config\PreExistingConfigException::create() (line 65 of C:\testB\wxt-8.x-3.010\core\lib\Drupal\Core\Config\PreExistingConfigException.php).

Looked at similar AJAX errors in the Issues (like issue #138), but the error message was different. Could you please provide us with some guidance on why it is doing this? Thank you and have a great day!

locutux commented 4 years ago

More info:

Error when I try to add a text block:

An AJAX HTTP error occurred.
HTTP Result Code: 200
Debugging information follows.
Path: /fr/admin/panels_ipe/variant/page_manager/welcome/block_plugins/inline_block%3Atext/form?_wrapper_format=drupal_ajax&ajax_form=1
StatusText: OK
ResponseText: TypeError: Argument 1 passed to Drupal\Core\Entity\Entity\EntityFormDisplay::collectRenderDisplay() must implement interface Drupal\Core\Entity\FieldableEntityInterface, null given, called in C:\testB\wxt-8.x-3.010\core\modules\layout_builder\src\Plugin\Block\InlineBlock.php on line 183 in Drupal\Core\Entity\Entity\EntityFormDisplay::collectRenderDisplay() (line 80 of C:\testB\wxt-8.x-3.010\core\lib\Drupal\Core\Entity\Entity\EntityFormDisplay.php).

And this when I try to add a slideshow:

An AJAX HTTP error occurred.
HTTP Result Code: 200
Debugging information follows.
Path: /fr/admin/panels_ipe/variant/page_manager/welcome/block_plugins/inline_block%3Amedia_slideshow/form?_wrapper_format=drupal_ajax&ajax_form=1
StatusText: OK
ResponseText: TypeError: Argument 1 passed to Drupal\Core\Entity\Entity\EntityFormDisplay::collectRenderDisplay() must implement interface Drupal\Core\Entity\FieldableEntityInterface, null given, called in C:\testB\wxt-8.x-3.010\core\modules\layout_builder\src\Plugin\Block\InlineBlock.php on line 183 in Drupal\Core\Entity\Entity\EntityFormDisplay::collectRenderDisplay() (line 80 of C:\testB\wxt-8.x-3.010\core\lib\Drupal\Core\Entity\Entity\EntityFormDisplay.php).
rgalipeau commented 4 years ago

You’ll find limited support options for windows based deployments here. I don’t know of anyone running Drupal8WxT in windows IIS. (Some for Drupal7 yes)

We recommend against it, suggest Apache or NGINX and MySQL or Postgres. Best of luck.