Metabox conditional logic and settings pages seems to be causing an issue with Oxygen admin ajax. The line referenced in one of the errors points to a Gutenberg integration function in conditional logic extension. Whatever it is, it's causing Oxygen to fail every time I enable metabox conditional logic extension and have a settings page built with metabox settings page extension.
Steps to reproduce:
1. Install MB core
2. Install AIO, enable Settings Pages/Conditional Logic
3. Add the settings page sample code from https://docs.metabox.io/extensions/mb-settings-page/
4. In the Oxygen editor add a > Basics > 'Section'
5. Inside the section add a > WordPress > Widgets > 'Navigation Menu'
Expected behavior:
The widget settings should load in the Oxygen side panel and the widget should be displayed in the editor window.
Actual behavior:
Widget settings display a spinning wheel or an error message, widget doesn't load in Oxygen editor window.
Error messages:
- Chrome dev tools -
Failed to load resource: the server responded with a status of 500 (Internal Server Error)
/wp-admin/admin-ajax.php?action=ct_render_widget_form&nonce=xxxxxxxxxx
- Oxygen editor -
Fatal error/exception
File: /wp-content/plugins/meta-box-aio/vendor/meta-box/meta-box-conditional-logic/conditional-logic.php
Line: 69
Plugin: meta-box-aio
I've got a sandbox site I can give access to or I can zip up a copy of the entire site and send it. Link to sandbox: https://oxygen-q8w6qz2bwt76.oxygen-demo.qsandbox.me/