Since last night I’ve been fighting with a problem on the site… Which is related to …/wp-includes/formatting.php, specifically the convert_smilies function. I ended up just having to adjust the $stop variable to “0”, at least until I can get it permanently figured out. And right now the content of posts aren’t loading, so there is still more to fix.

EDIT: June 03, 2023: Okay, so I may have finally gotten it working… I did use the Web UI to re-install WordPress 6.2.2, & I was still seeing errors related to the convert_smilies function again & finally found an answer that helped me get things running again (at least for now…): StackOverflow: base64_encode conflict with convert_smilies in wordpress. The answer about editing the .../ file, & adding: remove_filter( 'the_content', 'convert_smilies', 20 );

In case anyone else has this issue, I want it to be a bit easier for you to fix than it was for me to find.
You can see the errors in .../logs/, & the error would be similar to: [Sat Jun 03 17:17:47.165260 2023] [fcgid:warn] [pid 360247:tid 3745063900928] [client] mod_fcgid: stderr: PHP Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, bool given in .../ Going to the referenced line in the formatting.php file is inside the convert_smilies function, which is why I started looking into that function specifically.

Tags: ,