Code showing for all sites on Pro theme in WordPress editor

Hi!

I am having issues with accessing the default WordPress page editor on a few of my pages.
Nothing seems to be missing when viewing the site live online: www.prioritydatasvc.com

When I try to access the WordPress editor page for the Networking & Security page, I get this error:


Fatal error : Out of memory (allocated 193986560) (tried to allocate 544768 bytes) in /hermes/walnaweb11a/b2720/moo.prioritydatasvccom/prioritydatasvc/wordpress/wp-includes/wp-db.php on line 1989

There has been a critical error on your website. Please check your site admin email inbox for instructions.


When I can access the editor, it has changed from block editor to classic. I can also see all the code and markup in this editor, as well. It looks like this instead of a blank block:


[cs_content][cs_element_section _id=“1” ][cs_element_layout_row _id=“2” ][cs_element_layout_column _id=“3” ][cs_element_layout_grid _id=“4” ][cs_element_layout_cell _id=“5” ][cs_element_headline _id=“6” ][cs_element_text _id=“7” ][/cs_element_layout_cell][cs_element_layout_cell _id=“8” ][cs_element_image _id=“9” ][/cs_element_layout_cell][cs_element_layout_cell _id=“10” ][cs_element_headline _id=“11” ][/cs_element_layout_cell][cs_element_layout_cell _id=“12” ][cs_element_headline _id=“13” ][cs_element_text _id=“14” ][/cs_element_layout_cell][cs_element_layout_cell _id=“15” ][cs_element_button _id=“16” ][/cs_element_layout_cell][cs_element_layout_cell _id=“17” ] [/cs_element_layout_cell][cs_element_layout_cell _id=“18” ] [/cs_element_layout_cell][cs_element_layout_cell _id=“19” ] [/cs_element_layout_cell][/cs_element_layout_grid][/cs_element_layout_column][/cs_element_layout_row][/cs_element_section][cs_element_section _id=“20” ][cs_element_layout_row _id=“21” ][cs_element_layout_column _id=“22” ][cs_element_map _id=“23” ][/cs_element_layout_column][/cs_element_layout_row][/cs_element_section][cs_element_section _id=“24” ][cs_element_layout_row _id=“25” ][cs_element_layout_column _id=“26” ][cs_element_text _id=“27” ][/cs_element_layout_column][/cs_element_layout_row][/cs_element_section][cs_element_section _id=“28” ][cs_element_layout_row _id=“29” ][cs_element_layout_column _id=“30” ][cs_element_raw_content _id=“31” ][/cs_element_layout_column][/cs_element_layout_row][/cs_element_section][cs_element_section _id=“32” ][cs_element_layout_row _id=“33” ][cs_element_layout_column _id=“34” ][cs_element_button _id=“35” ][/cs_element_layout_column][/cs_element_layout_row][/cs_element_section][/cs_content]


That is not everything but you get the idea. What is going on?

Additionally, this is what is in my error_log:


1553124177: /hermes/walnaweb11a/b2720/moo.prioritydatasvccom/ssv3_payload_extractor-nnxlIFA7K6.php startup
1553124180: /hermes/walnaweb11a/b2720/moo.prioritydatasvccom/ssv3_payload_extractor-nnxlIFA7K6.php startup
1553124184: /hermes/walnaweb11a/b2720/moo.prioritydatasvccom/ssv3_payload_extractor-nnxlIFA7K6.php startup
1553124188: /hermes/walnaweb11a/b2720/moo.prioritydatasvccom/ssv3_payload_extractor-nnxlIFA7K6.php startup
1553124194: /hermes/walnaweb11a/b2720/moo.prioritydatasvccom/ssv3_payload_extractor-nnxlIFA7K6.php startup


Hello Christopher,

Thanks for writing in!

1.) You are having this issue because you have just updated WordPress core 5.4. This is a known issue and you do not have to worry it about. It is just a matter of Gutenberg settings which now overrides the Pro editor settings. Our developers were already aware of this issue and a fix is underway. It will be rolling out soon. To get around this, simply unset the “Fullscreen Mode” View and use the Code Editor as the editor. Please see the image below:

2.) Out of Memory or simply mean that you have maxed out your PHP memory limit.
Fatal error : Out of memory (allocated 193986560) (tried to allocate 544768 bytes)...

​We recommend that you increase your memory allocated to PHP. To increase it, please edit your wp-config.php file and insert these lines:

define( 'WP_MEMORY_LIMIT', '256M' );
define( 'WP_MAX_MEMORY_LIMIT', '512M' );

You can add it before the line
/*That's all, stop editing! Happy Blogging. */

3.) You may ignore the lines in your error log. It just logged that the service has started up.

We would loved to know if this has work for you. Thank you.

I won’t worry about the code so much then and just be patient for an update.
It really breaks Yoast’s ability to read body text too. haha

As for the memory limit, I have added those lines and I am still getting the error but not consistently.
My hosting support noted they weren’t sure what to do about that since the lines were already added and the memory error was still showing.
It has only done that since the WordPress update so I will just be patient for a theme update.

Thanks for the reply!

Hi Christopher,

The memory limit is a server-side thing, if adding the define( 'WP_MEMORY_LIMIT', '256M' ); to the wp-config.php file did not work, then that means the server is not allowing you to increase this on your own (maybe its a limit on your current plan on your hosting).

Thanks,

Thanks for confirming what I have been trying to explain to my boss!

Stay safe!

You’re always welcome!

Cheers and stay safe at home too!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.