PHP Deprecated (Failed Ajax request or invalid JSON returned.) (OJS-3.4.0.5)

Hi @cager ;

These JSON issues often stem from debug statements in the response.
In your config.inc.php - did you enable any debug option? If so try disabling them and try again.

I checked the config.inc.ph file, but there are no debug settings turned on.

image

I suspected the ORCID and TextAreas plugins might be causing the error, so I deleted them. However, the error persists throughout the entire Open Journal System (OJS) platform.

Like this:

When I try to export a DOI, I receive an error message.

Php Error log:

[23-May-2024 14:22:06 UTC] PHP Deprecated:  stripslashes(): Passing null to parameter #1 ($string) of type string is deprecated in /home/philair/public_html/lib/pkp/classes/citation/Citation.php on line 118

Trying to on the Debug: Here is the error pop up

is the error:
mb_convert_encoding()

I followed this and apply it: Resolving charset encoding mix-ups / mojibake - #9 by jnugent

All Collation was changed to utf8mb4_general_ci:

but the error is sam mb_convert_encoding();

I’m hoping you can help! I’m having trouble uploading the full article to the content publishing platform. The functionality seems a bit confusing, and it’s slowing down my progress.

Best Regards,

Darryl