Error when adding List data field to Classifieds Manage block
-
I migrated from shortcode to the new “Classifieds Manage”-block and wanted to add additional attributes to the list by adding one e.g. the Price from the “Display Information > List Data”-dropdown.
As soon as one/any of these fields is added an error 500 occurs and the block shows the following error message:
"Error loading block: The response is not a valid JSON response."
Furthermore, the page could not be rendered in edit or view mode and shows an error message “There has been a critical error on this website. Please check your site admin email inbox for instructions.” triggering a debugging email with the following exception details:
Fehler-Details
==============
Ein Fehler vom Typ E_ERROR wurde in der Zeile 37 der Datei /home/.sites/174/site2508248/web/wp-content/plugins/wpadverts/blocks/manage/templates/manage-list-item.php verursacht. Fehlermeldung: Uncaught TypeError: Cannot access offset of type string on string in /home/.sites/174/site2508248/web/wp-content/plugins/wpadverts/blocks/manage/templates/manage-list-item.php:37
Stack trace:
#0 /home/.sites/174/site2508248/web/wp-content/plugins/wpadverts/blocks/manage/templates/manage-list.php(155): include()
#1 /home/.sites/174/site2508248/web/wp-content/plugins/wpadverts/blocks/manage/class-manage-engine.php(171): include('/home/.sites/17...')
#2 /home/.sites/174/site2508248/web/wp-content/plugins/wpadverts/blocks/manage/class-manage-engine.php(82): Adverts_Block_Manage_Engine->action_list(Array)
#3 /home/.sites/174/site2508248/web/wp-content/plugins/wpadverts/blocks/manage/index.php(95): Adverts_Block_Manage_Engine->main(Array)
#4 /home/.sites/174/site2508248/web/wp-includes/class-wp-block.php(258): Adverts_Block_Manage->render(Array, '', Object(WP_Block))
#5 /home/.sites/174/site2508248/web/wp-includes/blocks.php(1484): WP_Block->render()
#6 /home/.sites/174/site2508248/web/wp-includes/blocks.php(1522): render_block(Array)
#7 /home/.sites/174/site2508248/web/wp-includes/class-wp-hook.php(324): do_blocks('Switching into the maintenance mode of WordPress by clicking the link in the email allows to edit and remove the corrupt block and publish the repaired page.
I hope this bug could be fixed soon. All the best!
The page I need help with: [log in to see the link]
- The topic ‘Error when adding List data field to Classifieds Manage block’ is closed to new replies.