Skip Navigation

[Closed] The editor has encountered an unexpected error.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

This topic contains 3 replies, has 3 voices.

Last updated by Christopher Amirian 1 year, 9 months ago.

Assisted by: Christopher Amirian.

Author
Posts
#2694638

When I try to create a new post, appears the following message: "The editor has encountered an unexpected error."

If I turn off the Toolset Views Plugin the error disappear.

I downloaded and installed the product manually but the problem still appearing.

#2694670

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Hi there

Do you have any details of the error?

Can you check your browser console for JS errors?

Also check your debug.log for PHP warnings and errors.

If you haven't already, turn on the debug log by editing your wp-config.php file and change the line with WP_DEBUG like so:

define('WP_DEBUG', true);
define('WP_DEBUG_LOG', true);
define('WP_DEBUG_DISPLAY', false);
define('WP_DISABLE_FATAL_ERROR_HANDLER',true);

That will create a debug.log file in your /wp-content/ directory which you can examine in any text editor. Try creating a post again and then inspect the log. If you don't find the debug.log file it means it didn't generate any warnings or errors.

Let us know what you find.

#2694683

[26-Apr-2024 13:46:57 UTC] PHP Deprecated: Creation of dynamic property BulkWP\BulkDelete\Core\BulkDelete::$addon_page is deprecated in /var/www/vhosts/yeeply.com/httpdocs/wp-content/plugins/bulk-delete/include/Core/BulkDelete.php on line 291
[26-Apr-2024 13:46:57 UTC] PHP Warning: Attempt to read property "ID" on null in /var/www/vhosts/yeeply.com/httpdocs/wp-content/plugins/hreflang-tags-for-wordpress/includes/functions.php on line 428
[26-Apr-2024 13:46:57 UTC] PHP Warning: Attempt to read property "ID" on null in /var/www/vhosts/yeeply.com/httpdocs/wp-content/plugins/hreflang-tags-for-wordpress/includes/functions.php on line 434
[26-Apr-2024 13:46:58 UTC] PHP Deprecated: Creation of dynamic property WP_Block_Parser::$empty_attrs is deprecated in /var/www/vhosts/yeeply.com/httpdocs/wp-content/plugins/wp-views/backend/Services/ViewParsingService.php on line 335
[26-Apr-2024 13:46:58 UTC] BLOCK: Getting Spectra Common CSS
[26-Apr-2024 13:46:58 UTC] PHP Deprecated: stripos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /var/www/vhosts/yeeply.com/httpdocs/wp-includes/class-wp-editor.php on line 303
[26-Apr-2024 13:46:58 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /var/www/vhosts/yeeply.com/httpdocs/wp-content/plugins/types/vendor/toolset/types/embedded/admin.php on line 167
[26-Apr-2024 13:46:58 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /var/www/vhosts/yeeply.com/httpdocs/wp-content/plugins/types/vendor/toolset/types/embedded/admin.php on line 167
[26-Apr-2024 13:47:02 UTC] PHP Deprecated: Creation of dynamic property BulkWP\BulkDelete\Core\BulkDelete::$addon_page is deprecated in /var/www/vhosts/yeeply.com/httpdocs/wp-content/plugins/bulk-delete/include/Core/BulkDelete.php on line 291
[26-Apr-2024 13:47:02 UTC] PHP Warning: Attempt to read property "ID" on null in /var/www/vhosts/yeeply.com/httpdocs/wp-content/plugins/hreflang-tags-for-wordpress/includes/functions.php on line 428
[26-Apr-2024 13:47:02 UTC] PHP Warning: Attempt to read property "ID" on null in /var/www/vhosts/yeeply.com/httpdocs/wp-content/plugins/hreflang-tags-for-wordpress/includes/functions.php on line 434
[26-Apr-2024 13:47:02 UTC] PHP Deprecated: Creation of dynamic property WP_Block_Parser::$empty_attrs is deprecated in /var/www/vhosts/yeeply.com/httpdocs/wp-content/plugins/wp-views/backend/Services/ViewParsingService.php on line 335
[26-Apr-2024 13:47:03 UTC] BLOCK: Getting Spectra Common CSS
[26-Apr-2024 13:47:03 UTC] PHP Deprecated: stripos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /var/www/vhosts/yeeply.com/httpdocs/wp-includes/class-wp-editor.php on line 303
[26-Apr-2024 13:47:03 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /var/www/vhosts/yeeply.com/httpdocs/wp-content/plugins/types/vendor/toolset/types/embedded/admin.php on line 167
[26-Apr-2024 13:47:03 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /var/www/vhosts/yeeply.com/httpdocs/wp-content/plugins/types/vendor/toolset/types/embedded/admin.php on line 167
[26-Apr-2024 13:47:13 UTC] PHP Deprecated: preg_match(): Passing null to parameter #2 ($subject) of type string is deprecated in /var/www/vhosts/yeeply.com/httpdocs/wp-content/plugins/wp-views/vendor/toolset/common-es/server/Rest/Route/ShortcodeRender/WithMeta.php on line 55
[26-Apr-2024 13:47:13 UTC] PHP Deprecated: preg_match(): Passing null to parameter #2 ($subject) of type string is deprecated in /var/www/vhosts/yeeply.com/httpdocs/wp-content/plugins/wp-views/vendor/toolset/common-es/server/Rest/Route/ShortcodeRender/WithMeta.php on line 55

#2694818

Christopher Amirian
Supporter

Languages: English (English )

Hi there,

None of the items above is a fatal error to generate the problem you see. So I am not sure if the list helped.

Would you please follow the steps below to see if it is something similar with the known issue we have?

https://toolset.com/errata/wordpress-6-5-update-breaks-editor-if-using-core-media-block-with-dynamic-sources/

If not, I'd appreciate it if you could get back to us with the login information of a staging/copy of your website dso we can perform some troubleshooting steps.

Make sure you set the next reply as private to share the login info.

Thanks.

The topic ‘[Closed] The editor has encountered an unexpected error.’ is closed to new replies.