OJS 3.3.0.5 Failed Ajax request or invalid JSON returned

Deprecated: Return type of ADODB_Iterator_empty::current() should either be compatible with Iterator::current(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in journals/jss/lib/pkp/lib/vendor/adodb/adodb-php/adodb.inc.php on line 3149

Deprecated: Return type of ADODB_Iterator_empty::next() should either be compatible with Iterator::next(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in journals/jss/lib/pkp/lib/vendor/adodb/adodb-php/adodb.inc.php on line 3153

Deprecated: Return type of ADODB_Iterator_empty::key() should either be compatible with Iterator::key(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in journals/jss/lib/pkp/lib/vendor/adodb/adodb-php/adodb.inc.php on line 3145

Deprecated: Return type of ADODB_Iterator_empty::valid() should either be compatible with Iterator::valid(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in journals/jss/lib/pkp/lib/vendor/adodb/adodb-php/adodb.inc.php on line 3141

Deprecated: Return type of ADODB_Iterator_empty::rewind() should either be compatible with Iterator::rewind(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in journals/jss/lib/pkp/lib/vendor/adodb/adodb-php/adodb.inc.php on line 3139

Deprecated: Return type of ADORecordSet_empty::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in journals/jss/lib/pkp/lib/vendor/adodb/adodb-php/adodb.inc.php on line 3204

Deprecated: Return type of ADODB_Iterator::current() should either be compatible with Iterator::current(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in journals/jss/lib/pkp/lib/vendor/adodb/adodb-php/adodb.inc.php on line 3276

Deprecated: Return type of ADODB_Iterator::next() should either be compatible with Iterator::next(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in journals/jss/lib/pkp/lib/vendor/adodb/adodb-php/adodb.inc.php on line 3280

Deprecated: Return type of ADODB_Iterator::key() should either be compatible with Iterator::key(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in journals/jss/lib/pkp/lib/vendor/adodb/adodb-php/adodb.inc.php on line 3272

Deprecated: Return type of ADODB_Iterator::valid() should either be compatible with Iterator::valid(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in journals/jss/lib/pkp/lib/vendor/adodb/adodb-php/adodb.inc.php on line 3268

Deprecated: Return type of ADODB_Iterator::rewind() should either be compatible with Iterator::rewind(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in journals/jss/lib/pkp/lib/vendor/adodb/adodb-php/adodb.inc.php on line 3264

Deprecated: Return type of ADORecordSet::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in journals/jss/lib/pkp/lib/vendor/adodb/adodb-php/adodb.inc.php on line 3356

Hi @Safi_Jam,

That warning has been resolved in a later release of OJS 3.3.0-x. But I’m not sure it’s what’s causing the “Failed Ajax request or invalid JSON returned” message, as it’s just a warning – there is probably something else in the log file responsible for the failure. (If you have configured your PHP to send warnings/errors to the browser, then those will definitely interfere with the front end; make sure your PHP is configured to send errors/warnings to the log.)

Regards,
Alec Smecher
Public Knowledge Project Team

PHP Deprecated : show in Php error Log

Same application working is good in localhost but this problem in cpanel

Dear Still My OJS not working . if you have any solution tell me .

Thanks

This topic was automatically closed after 11 days. New replies are no longer allowed.