No Code Attached Yet Information Required PHP 8.x
avatar chmst
chmst
21 Feb 2022

Steps to reproduce the issue

This is not always replicable

J4.1 with blog sample data and debug modus on

Open the home item (in main menu) and change the menu, save and close (vite, vite!).

Expected result

Success message

Actual result

grafik
for a short moment this message appears and disappears after a second.

System information (as much as possible)

Working on xampp, php 8.0, win11, System debug on, error-reporting maximum.
Console shows a 303 and something with core.js in line about 400. but only for a few moments
This is not always replicable - maybe it depends on the the time between actions.

Additional comments

avatar chmst chmst - open - 21 Feb 2022
avatar joomla-cms-bot joomla-cms-bot - change - 21 Feb 2022
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 21 Feb 2022
avatar Fedik
Fedik - comment - 21 Feb 2022

This error means that JSON response is broken. That happen when error-reporting maximum on php 8+.
Because PHP add Deprecation notice to response, that breaks whole JSON response.

It is translated:

JLIB_JS_AJAX_ERROR_OTHER="An error has occurred while fetching the JSON data: HTTP %s status code."

JLIB_JS_AJAX_ERROR_OTHER="An error has occurred while fetching the JSON data: HTTP %s status code."

However it may be not loaded to JavaScript, on that page, like here example:

Text::script('JLIB_JS_AJAX_ERROR_OTHER');

avatar chmst chmst - change - 21 Feb 2022
The description was changed
avatar chmst chmst - edited - 21 Feb 2022
avatar chmst chmst - change - 21 Feb 2022
Labels Added: ?
avatar chmst chmst - labeled - 21 Feb 2022
avatar brianteeman
brianteeman - comment - 15 Jun 2022

Can you still replicate this? I tried and couldnt

avatar Quy Quy - change - 15 Jun 2022
Labels Added: Information Required PHP 8.x
Removed: ?
avatar Quy Quy - labeled - 15 Jun 2022
avatar chmst chmst - change - 25 Aug 2022
Status New Closed
Closed_Date 0000-00-00 00:00:00 2022-08-25 20:10:47
Closed_By chmst
avatar chmst chmst - close - 25 Aug 2022
avatar chmst
chmst - comment - 25 Aug 2022

Could not replicate - maybe caused by my localhost

Add a Comment

Login with GitHub to post a comment