Advertisement

Error An error has occurred while fetching the JSON data: HTTP 500 status code. Internal Server Error

General questions relating to Joomla! 4.x.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting.
Forum Post Assistant - If you are serious about wanting help, you should use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10
Post Reply
aliteejay
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 173
Joined: Thu May 05, 2011 7:19 pm

Error An error has occurred while fetching the JSON data: HTTP 500 status code. Internal Server Error

Post by aliteejay » Wed Apr 19, 2023 9:37 am

We operate a J4.2.9 website, php version of 8.1, with VM 4.2.12 component, however we getting prompted to fix an internal server error, which sounds rocket science to me, please can we get help fixing this first, before attempting to upgrade to latest Joomla version, appreciate every and any help

Advertisement
NBPunchard
Joomla! Apprentice
Joomla! Apprentice
Posts: 20
Joined: Mon Dec 29, 2014 3:46 pm

Re: Error An error has occurred while fetching the JSON data: HTTP 500 status code. Internal Server Error

Post by NBPunchard » Fri Apr 21, 2023 2:54 pm

Hi, unable to help, but I am getting the same error, hope someone is reading these and can help.
Regards

User avatar
ceford
Joomla! Hero
Joomla! Hero
Posts: 2863
Joined: Mon Feb 24, 2014 10:38 pm
Location: Edinburgh, Scotland
Contact:

Re: Error An error has occurred while fetching the JSON data: HTTP 500 status code. Internal Server Error

Post by ceford » Sat Apr 22, 2023 2:57 am

Can you post a screenshot showing where this error occurs? Also, in Global Configuration, set Debug to Yes and Error Reporting to Maximum. In the logging panel turn on Log Almost Everything. Trigger the error and then, with a text editor, look in administrator/logs/... for a recent log. Is there anything to indicate where the error occurred? After testing, turn logging and debug off again.

These sorts of problems occur when a JavaScript request triggers a server error which does not return the expected json format. They are difficult to diagnose.

NBPunchard
Joomla! Apprentice
Joomla! Apprentice
Posts: 20
Joined: Mon Dec 29, 2014 3:46 pm

Re: Error An error has occurred while fetching the JSON data: HTTP 500 status code. Internal Server Error

Post by NBPunchard » Mon Apr 24, 2023 10:55 am

I did the settings as suggested, the only error log in admin/logs was dated the 23rd April, so not todays date. Last fwe lines of text below, but it looks just like login errors from someone trying to hack into site.
2023-04-18T02:17:39+00:00 INFO 45.170.254.119 joomlafailure Username and password do not match or you do not have an account yet.
2023-04-18T02:17:42+00:00 INFO 45.170.254.119 joomlafailure Username and password do not match or you do not have an account yet.
2023-04-18T02:17:46+00:00 INFO 45.170.254.119 joomlafailure Username and password do not match or you do not have an account yet.
2023-04-18T02:17:47+00:00 INFO 45.170.254.119 joomlafailure Username and password do not match or you do not have an account yet.
2023-04-18T02:17:47+00:00 INFO 45.170.254.119 joomlafailure Username and password do not match or you do not have an account yet.
2023-04-18T07:19:49+00:00 INFO 171.101.101.178 joomlafailure Username and password do not match or you do not have an account yet.
2023-04-19T04:14:54+00:00 INFO 222.252.28.31 joomlafailure Username and password do not match or you do not have an account yet.
2023-04-21T14:36:43+00:00 INFO 190.72.247.23 joomlafailure Username and password do not match or you do not have an account yet.
2023-04-23T15:08:43+00:00 INFO 202.29.97.4 joomlafailure Username and password do not match or you do not have an account yet.

See screenshot of the error when updating.
You do not have the required permissions to view the files attached to this post.

User avatar
ceford
Joomla! Hero
Joomla! Hero
Posts: 2863
Joined: Mon Feb 24, 2014 10:38 pm
Location: Edinburgh, Scotland
Contact:

Re: Error An error has occurred while fetching the JSON data: HTTP 500 status code. Internal Server Error

Post by ceford » Mon Apr 24, 2023 1:07 pm

Can you confirm whether the message appears when you load the page or when you click the Update button?

User avatar
ceford
Joomla! Hero
Joomla! Hero
Posts: 2863
Joined: Mon Feb 24, 2014 10:38 pm
Location: Edinburgh, Scotland
Contact:

Re: Error An error has occurred while fetching the JSON data: HTTP 500 status code. Internal Server Error

Post by ceford » Mon Apr 24, 2023 1:28 pm

Try this: set Debug System to Yes and Error Reporting to Maximum. Go to the Joomla Update page. Error reported?

Open a new tab and enter this url:

Code: Select all

http://localhost/j425/administrator/index.php?option=com_joomlaupdate&task=update.batchextensioncompatibility
but replace

Code: Select all

http://localhost/j425/
with your own domain details.

What do you see? I get

Code: Select all

{"success":true,"message":null,"messages":null,"data":{"compatibility":[],"extensions":[]}}
although Firefox displays it in json rather than raw format.

maestro3229
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Sat Apr 30, 2016 2:50 pm

Re: Error An error has occurred while fetching the JSON data: HTTP 500 status code. Internal Server Error

Post by maestro3229 » Sat Oct 21, 2023 12:35 pm

Was this resolved? I have the same issue now with the 4.3.4 to 4.4.0 update. The error occurs after opening the update component and just as the Extensions checkmark appears. I followed the instructions above and got the same result: {"success":true,"message":null,"messages":null,"data":{"compatibility":[],"extensions":[]}}

simonlindsay
Joomla! Intern
Joomla! Intern
Posts: 50
Joined: Sat Sep 10, 2005 9:07 am

Re: Error An error has occurred while fetching the JSON data: HTTP 500 status code. Internal Server Error

Post by simonlindsay » Wed Oct 25, 2023 5:38 pm

Hello,

I have the same error in Red at the top of the page when I first click the update button - "An error has occurred while fetching the JSON data: HTTP 500 status code. Internal Server Error."

The 'Required Settings' are fine.

There are yellow warning triangles for 'recommended settings' - Display Errors and Output buffering both with a yellow 'On'.

The 'Extensions are showing quite a number of modules, plugins etc. "It was not possible to check the compatibility of these plugins. The request to the update server either timed out or returned an error."

My question is, will Joomla still work but only the extension fail or could the whole site break?

Many thanks for any advice.

Simon

[email protected]
Joomla! Apprentice
Joomla! Apprentice
Posts: 29
Joined: Mon Feb 06, 2006 6:27 am

Re: Error An error has occurred while fetching the JSON data: HTTP 500 status code. Internal Server Error

Post by [email protected] » Wed Nov 15, 2023 1:09 am

I tired the command in a new tab and it worked correctly.

Tried again in Joomla updates and got error again.

Image

This is happening in more than one of my Joomla 4.4.0 sites

User avatar
ceford
Joomla! Hero
Joomla! Hero
Posts: 2863
Joined: Mon Feb 24, 2014 10:38 pm
Location: Edinburgh, Scotland
Contact:

Re: Error An error has occurred while fetching the JSON data: HTTP 500 status code. Internal Server Error

Post by ceford » Wed Nov 15, 2023 9:43 am

I was really hoping that the url version of the javascript call would return a stack trace to help us figure out what is wrong. Did you get a stack trace for the 500 Error? If so, post it here. Otherwise I am guessing that a request for extension information timed out. Try going to System / Update Sites and click on each external link to an xml file in turn. Do any of them hang?

User avatar
dunxmax
Joomla! Intern
Joomla! Intern
Posts: 64
Joined: Mon Sep 21, 2009 9:33 am
Location: UK
Contact:

Re: Error An error has occurred while fetching the JSON data: HTTP 500 status code. Internal Server Error

Post by dunxmax » Thu Jul 11, 2024 10:43 am

Hi all,

I have a site that is ready to be upgraded from J4-J5 and I'm getting this same error when I click through to the Joomla update page.

Has anyone figured out what is causing this problem?

Is it OK to ignore it or should the problem be resolved before upgrading?

Screenshot attached.

D
You do not have the required permissions to view the files attached to this post.
The more we learn the less we know!

http://www.aquamandesign.co.uk
Committed to the Joomla way of life, based in the UK.

simonlindsay
Joomla! Intern
Joomla! Intern
Posts: 50
Joined: Sat Sep 10, 2005 9:07 am

Re: Error An error has occurred while fetching the JSON data: HTTP 500 status code. Internal Server Error

Post by simonlindsay » Thu Jul 11, 2024 5:51 pm

I'm still waiting for a response as well. Somebody at Joomla must know a fix or workaround for this issue, it is a major bug in my opinion and is stopping me from upgrading two of my sites. I really can't afford for my sites to be broken and have to start again.

gws
Joomla! Champion
Joomla! Champion
Posts: 6347
Joined: Tue Aug 23, 2005 1:56 pm
Location: South coast, UK
Contact:

Re: Error An error has occurred while fetching the JSON data: HTTP 500 status code. Internal Server Error

Post by gws » Thu Jul 11, 2024 6:08 pm

If it was a major bug we all would have the problem and we do not...
Post the FPA so we can look at your hosting environment.

simonlindsay
Joomla! Intern
Joomla! Intern
Posts: 50
Joined: Sat Sep 10, 2005 9:07 am

Re: Error An error has occurred while fetching the JSON data: HTTP 500 status code. Internal Server Error

Post by simonlindsay » Thu Jul 11, 2024 6:42 pm

What is FPA please and how do I locate it, post it etc?
Thanks.

User avatar
toivo
Joomla! Master
Joomla! Master
Posts: 17786
Joined: Thu Feb 15, 2007 5:48 am
Location: Sydney, Australia

Re: Error An error has occurred while fetching the JSON data: HTTP 500 status code. Internal Server Error

Post by toivo » Thu Jul 11, 2024 8:39 pm

simonlindsay wrote: Thu Jul 11, 2024 6:42 pmWhat is FPA please and how do I locate it, post it etc?
The purpose of the Forum Post Assistant (FPA) script is to help us assist you. It displays the configuration of Joomla and the web server in a standard, easily understood format and an inventory of all the extensions using BBCode, copied and pasted into a forum post.

The link to the FPA instructions can be found in the red area at the top of each forum thread:
Forum Post Assistant - If you are serious about wanting help, you should use this tool to help you post.
Toivo Talikka, Global Moderator

User avatar
dunxmax
Joomla! Intern
Joomla! Intern
Posts: 64
Joined: Mon Sep 21, 2009 9:33 am
Location: UK
Contact:

Re: Error An error has occurred while fetching the JSON data: HTTP 500 status code. Internal Server Error

Post by dunxmax » Mon Jul 15, 2024 8:40 am

Hi all, here's the FPA from my site. Hope this shows where the problem might be:
Forum Post Assistant (v1.6.7) : 15-Jul-2024 wrote:
Last PHP Error(s) Reported :: wrote:[15-Jul-2024 08:36:50 UTC] PHP Deprecated: substr_count(): Passing null to parameter #1 ($haystack) of type string is deprecated in /home/customer/www/duncanm23.sg-host.com/public_html/fpa-en.php on line 106
Basic Environment :: wrote:Joomla! Instance :: Joomla! 4.4.6-Stable (Pamoja) 9-July-2024
Joomla! Configured :: Yes | Read-Only (444) |
Configuration Options :: Offline: false | SEF: true | SEF Suffix: true | SEF ReWrite: true | .htaccess/web.config: Yes | GZip: false | Cache: false | CacheTime: 15 | CacheHandler: file | CachePlatformPrefix: false | FTP Layer: false | Proxy: false | LiveSite: | Session lifetime: 15 | Session handler: database | Shared sessions: false | SSL: 2 | Error Reporting: none | Site Debug: false | Language Debug: false | Default Access: Public | Unicode Slugs: false | dbConnection Type: mysqli | PHP Supports J! 4.4.6: Yes | Database Supports J! 4.4.6: Yes | Database Credentials Present: Yes |

Host Configuration :: OS: Linux | OS Version: 6.6.21-MCIclouder470 | Technology: x86_64 | Web Server: Apache | Encoding: | System TMP Writable: Yes | Free Disk Space : 677.76 GiB |

PHP Configuration :: Version: 8.1.29 | PHP API: apache2handler | Session Path Writable: Yes | Display Errors: 0 | Error Reporting: 30709 | Log Errors To: php_errorlog | Last Known Error: 15th July 2024 08:37:24. | Register Globals: | Magic Quotes: | Safe Mode: | Allow url fopen: 1 | Open Base: | Uploads: 1 | Max. Upload Size: 256M | Max. POST Size: 256M | Max. Input Time: 120 | Max. Execution Time: 120 | Memory Limit: 768M

Database Configuration :: Version: 8.0.36-28 (Client:mysqlnd 8.1.29) | Database Size: 7.33 MiB | #of Tables with config prefix:  98 | #of other Tables:  0 | User Privileges : GRANT ALL
Detailed Environment :: wrote:PHP Extensions :: Core (8.1.29) | date (8.1.29) | libxml (8.1.29) | openssl (8.1.29) | pcre (8.1.29) | sqlite3 (8.1.29) | zlib (8.1.29) | bcmath (8.1.29) | bz2 (8.1.29) | calendar (8.1.29) | ctype (8.1.29) | curl (8.1.29) | dba (8.1.29) | dom (20031129) | enchant (8.1.29) | hash (8.1.29) | fileinfo (8.1.29) | filter (8.1.29) | ftp (8.1.29) | gd (8.1.29) | gettext (8.1.29) | gmp (8.1.29) | json (8.1.29) | iconv (8.1.29) | SPL (8.1.29) | intl (8.1.29) | session (8.1.29) | mbstring (8.1.29) | standard (8.1.29) | mysqlnd (mysqlnd 8.1.29) | exif (8.1.29) | mysqli (8.1.29) | PDO (8.1.29) | pdo_mysql (8.1.29) | pdo_pgsql (8.1.29) | pdo_sqlite (8.1.29) | pgsql (8.1.29) | Phar (8.1.29) | posix (8.1.29) | pspell (8.1.29) | Reflection (8.1.29) | imap (8.1.29) | shmop (8.1.29) | SimpleXML (8.1.29) | soap (8.1.29) | sockets (8.1.29) | sodium (8.1.29) | sysvmsg (8.1.29) | sysvsem (8.1.29) | tidy (8.1.29) | tokenizer (8.1.29) | xml (8.1.29) | xmlreader (8.1.29) | xmlwriter (8.1.29) | xsl (8.1.29) | zip (1.19.5) | apache2handler (8.1.29) | memcached (3.2.0) | Zend OPcache (8.1.29) | Zend Engine (4.1.29-dev) |
Potential Missing Extensions ::

Switch User Environment :: PHP CGI: No | Server SU: No | PHP SU: No | Potential Ownership Issues: No

Apache Modules :: core | mod_authn_file | mod_authn_core | mod_authz_host | mod_authz_groupfile | mod_authz_user | mod_authz_core | mod_access_compat | mod_auth_basic | mod_so | mod_watchdog | mod_include | mod_substitute | mod_deflate | http_core | mod_mime | mod_log_config | mod_env | mod_mime_magic | mod_expires | mod_headers | mod_unique_id | mod_setenvif | mod_version | mod_slotmem_shm | event | mod_unixd | mod_autoindex | mod_cgi | mod_dir | mod_userdir | mod_alias | mod_rewrite | mod_php | mod_dtimeout | mod_filter | mod_robots | mod_rpaf | mod_simpleupdate | mod_backtrace | mod_whatkilledus | mod_idleshutdown | Apache |
Potential Missing Modules :: mod_ssl |
Folder Permissions :: wrote:Core Folders :: images/ (755) | components/ (755) | modules/ (755) | plugins/ (755) | language/ (755) | templates/ (755) | cache/ (755) | logs/ (755) | tmp/ (755) | administrator/components/ (755) | administrator/modules/ (755) | administrator/language/ (755) | administrator/templates/ (755) | administrator/logs/ (---) | api/ (755) |

Elevated Permissions (First 10) ::
Database Information :: wrote:Database statistics :: Uptime: 904938 | Threads: 10 | Questions: 725579168 | Slow queries: 1725 | Opens: 30483171 | Flush tables: 3 | Open tables: 3072 | Queries per second avg: 801.799 |
Extensions Discovered :: wrote:Components :: Site ::
Core ::
3rd Party::

Components :: Admin ::
Core :: com_postinstall (4.0.0) 1 | com_joomlaupdate (4.0.3) 1 | com_banners (4.0.0) 1 | com_modules (4.0.0) 1 | com_contenthistory (4.0.0) 1 | com_tags (4.0.0) 1 | com_workflow (4.0.0) 1 | com_languages (4.0.0) 1 | com_ajax (4.0.0) 1 | com_config (4.0.0) 1 | com_search (3.0.0) 1 | com_installer (4.0.0) 1 | com_scheduler (4.1.0) 1 | com_login (4.0.0) 1 | com_newsfeeds (4.0.0) 1 | com_checkin (4.0.0) 1 | com_fields (4.0.0) 1 | com_users (4.0.0) 1 | com_mails (4.0.0) 1 | com_messages (4.0.0) 1 | com_associations (4.0.0) 1 | com_guidedtours (4.3.0) 1 | com_cpanel (4.0.0) 1 | com_actionlogs (3.9.0) 1 | com_privacy (3.9.0) 1 | com_templates (4.0.0) 1 | com_menus (4.0.0) 1 | com_categories (4.0.0) 1 | com_cache (4.0.0) 1 | com_wrapper (4.0.0) 1 | com_media (3.0.0) 1 | com_plugins (4.0.0) 1 | com_admin (4.0.0) 1 | com_finder (4.0.0) 1 | com_redirect (4.0.0) 1 | com_content (4.0.0) 1 |
3rd Party:: com_phocagallery (5.0.1) 1 | com_xmap (2.3.4) 1 | com_slideshowck (2.5.7) 1 | Slideshow CK (2.5.4) ? | COM_COOKIESPOLICYNOTIFICATIONBAR (4.3.5) 1 | com_phocamaps (5.0.2) 1 | Accordeon Menu CK (3.3.8) 1 | ACCORDEONMENUCK (3.3.9) 1 |

Modules :: Site ::
Core :: mod_menu (3.0.0) 1 | mod_feed (3.0.0) 1 | mod_articles_popular (3.0.0) 1 | mod_articles_archive (3.0.0) 1 | mod_tags_similar (3.1.0) 1 | mod_articles_categories (3.0.0) 1 | mod_custom (3.0.0) 1 | mod_tags_popular (3.1.0) 1 | mod_breadcrumbs (3.0.0) 1 | mod_whosonline (3.0.0) 1 | mod_articles_news (3.0.0) 1 | mod_search (3.0.0) 1 | mod_stats (3.0.0) 1 | mod_syndicate (3.0.0) 1 | mod_articles_latest (3.0.0) 1 | mod_banners (3.0.0) 1 | mod_articles_category (3.0.0) 1 | mod_random_image (3.0.0) 1 | mod_related_items (3.0.0) 1 | mod_users_latest (3.0.0) 1 | mod_footer (3.0.0) 1 | mod_login (3.0.0) 1 | mod_finder (3.0.0) 1 | mod_articles_news_adv (1.4.5) 0 | mod_wrapper (3.0.0) 1 | mod_languages (3.5.0) 1 |
3rd Party:: Accordeon Menu CK (3.3.8) 1 | Responsive FastSlider (3.0.0) 1 |

Modules :: Admin ::
Core :: mod_menu (3.0.0) 1 | mod_feed (3.0.0) 1 | mod_toolbar (3.0.0) 1 | mod_quickicon (3.0.0) 1 | mod_logged (3.0.0) 1 | mod_title (3.0.0) 1 | mod_stats_admin (3.0.0) 1 | mod_multilangstatus (3.0.0) 1 | mod_frontend (4.0.0) 1 | mod_custom (3.0.0) 1 | mod_version (3.0.0) 1 | mod_messages (4.0.0) 1 | mod_latest (3.0.0) 1 | mod_user (4.0.0) 1 | mod_privacy_dashboard (3.9.0) 1 | mod_post_installation_messages (4.0.0) 1 | mod_privacy_status (4.0.0) 1 | mod_login (3.0.0) 1 | mod_popular (3.0.0) 1 | mod_guidedtours (4.3.0) 1 | mod_latestactions (3.9.0) 1 | mod_sampledata (3.8.0) 1 | mod_submenu (3.0.0) 1 | mod_loginsupport (4.0.0) 1 |
3rd Party::

Libraries ::
Core ::
3rd Party:: file_fof40 (4.1.0) ? | file_fof30 (3.7.0) ? |

Plugins ::
Core :: plg_api-authentication_token (4.0.0) 1 | plg_api-authentication_basic (4.0.0) 0 | plg_captcha_recaptcha_invisible (3.8) 0 | plg_captcha_recaptcha (3.4.0) 0 | plg_quickicon_downloadkey (4.0.0) 1 | plg_quickicon_privacycheck (3.9.0) 1 | plg_quickicon_eos (4.4.0) 1 | plg_quickicon_extensionupdate (3.0.0) 1 | plg_quickicon_phpversioncheck (3.7.0) 1 | plg_quickicon_overridecheck (4.0.0) 1 | plg_quickicon_eos310 (3.10.0) ? | plg_quickicon_joomlaupdate (3.0.0) 1 | plg_extension_finder (4.0.0) 1 | plg_extension_namespacemap (4.0.0) 1 | plg_extension_joomla (3.0.0) 1 | plg_webservices_tags (4.0.0) 1 | plg_webservices_redirect (4.0.0) 1 | plg_webservices_messages (4.0.0) 1 | plg_webservices_privacy (4.0.0) 1 | plg_webservices_installer (4.0.0) 1 | plg_webservices_content (4.0.0) 1 | plg_webservices_modules (4.0.0) 1 | plg_webservices_menus (4.0.0) 1 | plg_webservices_languages (4.0.0) 1 | plg_webservices_config (4.0.0) 1 | plg_webservices_plugins (4.0.0) 1 | plg_webservices_newsfeeds (4.0.0) 1 | plg_webservices_banners (4.0.0) 1 | plg_webservices_templates (4.0.0) 1 | plg_webservices_users (4.0.0) 1 | plg_webservices_media (4.1.0) 1 | plg_editors-xtd_module (3.5.0) 1 | plg_editors-xtd_menu (3.7.0) 1 | plg_editors-xtd_pagebreak (3.0.0) 1 | plg_editors-xtd_readmore (3.0.0) 1 | plg_editors-xtd_fields (3.7.0) 1 | plg_editors-xtd_article (3.0.0) 1 | plg_editors-xtd_image (3.0.0) 1 | plg_filesystem_local (4.0.0) 1 | plg_privacy_consents (3.9.0) 1 | plg_privacy_content (3.9.0) 1 | plg_privacy_actionlogs (3.9.0) 1 | plg_privacy_user (3.9.0) 1 | plg_privacy_message (3.9.0) 1 | plg_system_stats (3.5.0) 1 | plg_system_guidedtours (4.3.0) 1 | plg_system_httpheaders (4.0.0) 0 | plg_system_languagecode (3.0.0) 0 | plg_system_shortcut (4.2.0) 1 | plg_system_redirect (3.0.0) 0 | plg_system_remember (3.0.0) 1 | plg_system_languagefilter (3.0.0) 0 | plg_system_jooa11y (4.2.0) 1 | plg_system_privacyconsent (3.9.0) 0 | plg_system_actionlogs (3.9.0) 0 | plg_system_accessibility (4.0.0) 0 | plg_system_fields (3.7.0) 1 | plg_system_logrotation (3.9.0) 1 | plg_system_highlight (3.0.0) 1 | plg_system_log (3.0.0) 1 | plg_system_updatenotification (3.5.0) 1 | plg_system_cache (3.0.0) 0 | plg_system_schedulerunner (4.1) 1 | plg_system_task_notification (4.1) 1 | plg_system_logout (3.0.0) 1 | plg_system_debug (3.0.0) 1 | plg_system_webauthn (4.0.0) 1 | plg_system_sef (3.0.0) 1 | plg_system_sessiongc (3.8.6) 1 | plg_system_skipto (4.0.0) 1 | plg_installer_override (4.0.0) 1 | plg_installer_urlinstaller (3.6.0) 1 | plg_installer_folderinstaller (3.6.0) 1 | plg_installer_packageinstaller (3.6.0) 1 | plg_installer_webinstaller (4.0.0) 1 | plg_content_confirmconsent (3.9.0) 0 | plg_content_vote (3.0.0) 1 | plg_content_pagebreak (3.0.0) 1 | plg_content_emailcloak (3.0.0) 1 | plg_content_loadmodule (3.0.0) 1 | plg_content_finder (3.0.0) 0 | plg_content_fields (3.7.0) 1 | plg_content_pagenavigation (3.0.0) 1 | plg_content_joomla (3.0.0) 1 | plg_workflow_featuring (4.0.0) 1 | plg_workflow_publishing (4.0.0) 1 | plg_workflow_notification (4.0.0) 1 | plg_multifactorauth_fixed (4.2.0) 0 | plg_multifactorauth_yubikey (3.2.0) 0 | plg_multifactorauth_email (4.2.0) 0 | plg_multifactorauth_webauthn (4.2.0) 0 | plg_multifactorauth_totp (3.2.0) 0 | plg_finder_contacts (3.0.0) 1 | plg_finder_tags (3.0.0) 1 | plg_finder_content (3.0.0) 1 | plg_finder_newsfeeds (3.0.0) 1 | plg_finder_categories (3.0.0) 1 | plg_media-action_crop (4.0.0) 1 | plg_media-action_resize (4.0.0) 1 | plg_media-action_rotate (4.0.0) 1 | plg_user_token (3.9.0) 1 | plg_user_terms (3.9.0) 0 | plg_user_contactcreator (3.0.0) 0 | plg_user_profile (3.0.0) 0 | plg_user_joomla (3.0.0) 1 | plg_search_contacts (3.0.0) 1 | plg_search_tags (3.0.0) 1 | plg_search_content (3.0.0) 1 | plg_search_newsfeeds (3.0.0) 1 | plg_search_categories (3.0.0) 1 | plg_sampledata_multilang (4.0.0) 1 | plg_fields_color (3.7.0) 1 | plg_fields_imagelist (3.7.0) 1 | plg_fields_radio (3.7.0) 1 | plg_fields_checkboxes (3.7.0) 1 | plg_fields_url (3.7.0) 1 | plg_fields_user (3.7.0) 1 | plg_fields_integer (3.7.0) 1 | plg_fields_text (3.7.0) 1 | plg_fields_list (3.7.0) 1 | plg_fields_calendar (3.7.0) 1 | plg_fields_usergrouplist (3.7.0) 1 | plg_fields_media (3.7.0) 1 | plg_fields_textarea (3.7.0) 1 | plg_fields_editor (3.7.0) 1 | plg_fields_sql (3.7.0) 1 | plg_fields_subform (4.0.0) 1 | plg_task_requests (4.1) 1 | plg_task_check_files (4.1) 1 | plg_task_site_status (4.1) 1 | plg_task_demo_tasks (4.1) 1 | plg_authentication_joomla (3.0.0) 1 | plg_authentication_ldap (3.0.0) 0 | plg_authentication_cookie (3.0.0) 1 | plg_behaviour_versionable (4.0.0) 1 | plg_behaviour_taggable (4.0.0) 1 | plg_behaviour_compat (4.4.0) 1 | plg_actionlog_joomla (3.9.0) 1 |
3rd Party:: PLG_SYSTEM_COOKIESPOLICYNOTIFICATIO (4.3.5) ? | PLG_SYSTEM_WEB357FRAMEWORK (1.9.2) 0 | PLG_INSTALLER_COOKIESPOLICYNOTIFICA (4.3.5) ? | plg_content_phocamaps (5.0.1) 0 | plg_editors_tinymce (5.10.9) 1 | plg_editors_codemirror (5.65.15) 1 | Xmap - Kunena Plugin (3.0.0) 0 | Xmap - SobiPro Plugin (2.0.2) 0 | Xmap - Virtuemart Plugin (2.0.3) 0 | Xmap - WebLinks Plugin (2.0.1) 0 | XMAP_PLUGIN_K2 (1.3) 0 | Xmap - Mosets Tree Plugin (2.0.2) 0 | Xmap - Content Plugin (2.0.4) 1 | PLG_TASK_DELETECPNBLOGS (4.3.5) 1 | PLG_AJAX_COOKIESPOLICYNOTIFICATIONB (4.3.5) ? | PLG_AJAX_WEB357FRAMEWORK (1.9.2) 0 |
Templates Discovered :: wrote:Templates :: Site :: cassiopeia (1.0) 1 | JoostrapBase-v3-4 (3.4) 0 | joomstarter (1.42) 1 |
Templates :: Admin :: atum (1.0) 1 |
Last edited by toivo on Mon Jul 15, 2024 10:38 am, edited 1 time in total.
Reason: mod note: disabled smilies in post Options for readability, retitled
The more we learn the less we know!

http://www.aquamandesign.co.uk
Committed to the Joomla way of life, based in the UK.

User avatar
AMurray
Joomla! Master
Joomla! Master
Posts: 10193
Joined: Sat Feb 13, 2010 7:35 am
Location: Australia

Re: Error An error has occurred while fetching the JSON data: HTTP 500 status code. Internal Server Error

Post by AMurray » Mon Jul 15, 2024 11:30 pm

Turn on the PHP Error reporting (done through your web host e.g. cPanel PHP settings, or ask your host for assistance), or you can set it on through Joomla's global configuration (under system (or server)).

Currently, Error Reporting is reported as "None" in the FPA. Error 500 is a generic server error (doesn't tell you much at first glance). With Error Reporting turned on, and set to Maximum that will give us more detail about the specific error. Post any error messages you see on the screen to the thread here.

"Display Errors" - you wouldn't leave that in the On setting for a production site, but for troubleshooting temporarily, it's OK.

"Output buffering", the Pre update says while the recommended setting is "Off" the site will work with this "on".

Perhaps the problem is your template. Switch to Cassiopeia, and check if the error 500 disappears. You may need to find an update for your template, or use an alternative compatible with J5.

This may have an impact: Potential Missing Modules :: mod_ssl - make sure mod_ssl is active in PHP settings (in your hosting environment - in cPanel etc).
Regards - A Murray
General Support Moderator

User avatar
dunxmax
Joomla! Intern
Joomla! Intern
Posts: 64
Joined: Mon Sep 21, 2009 9:33 am
Location: UK
Contact:

Re: Error An error has occurred while fetching the JSON data: HTTP 500 status code. Internal Server Error

Post by dunxmax » Thu Jul 25, 2024 12:25 pm

Turn on the PHP Error reporting (done through your web host e.g. cPanel PHP settings, or ask your host for assistance), or you can set it on through Joomla's global configuration (under system (or server)).
This is now on. I'm not getting any further indication of what is causing the error other than the error message itself.
Currently, Error Reporting is reported as "None" in the FPA. Error 500 is a generic server error (doesn't tell you much at first glance). With Error Reporting turned on, and set to Maximum that will give us more detail about the specific error. Post any error messages you see on the screen to the thread here.
I turned this on and set it to maximum - again there are no further error messages other than the error message itself
"Display Errors" - you wouldn't leave that in the On setting for a production site, but for troubleshooting temporarily, it's OK.
OK, this is now on.
"Output buffering", the Pre update says while the recommended setting is "Off" the site will work with this "on".
This is now on.
Perhaps the problem is your template. Switch to Cassiopeia, and check if the error 500 disappears. You may need to find an update for your template, or use an alternative compatible with J5.
I switched to cassiopeia - no change.
This may have an impact: Potential Missing Modules :: mod_ssl - make sure mod_ssl is active in PHP settings (in your hosting environment - in cPanel etc).
I contacted host support. They said this was all OK.

I have been through switching off plugins that I've added. No change.

I took a look in my browser's console error messages in Firefox and Chrome - messages are slightly different.

They are as follows:
Firefox:
Source map error: request failed with status 404
Resource URL: https://www.duncanm23.sg-host.com/media ... n.js?4.1.7
Source Map URL: skipto.min.js.map/*@end

Chrome:
Failed to load resource: the server responded with a status of 500 ()
The link address for this is: https://www.duncanm23.sg-host.com/admin ... patibility

Any further help, greatly appreciated.

Thanks

D
The more we learn the less we know!

http://www.aquamandesign.co.uk
Committed to the Joomla way of life, based in the UK.

Mr. Wimpy
Joomla! Guru
Joomla! Guru
Posts: 553
Joined: Fri Dec 02, 2005 10:46 am
Location: The Netherlands

Re: Error An error has occurred while fetching the JSON data: HTTP 500 status code. Internal Server Error

Post by Mr. Wimpy » Thu Jul 25, 2024 1:23 pm

Based on your FPA:
- Xmap has been discontinued a long time ago, big chance it's not compatible with J4/5
- Responsive Fastslider is a J3 extension, and it's developers stopped developing Joomla extensions.

Uninstall these extensions and find alternatives if you still need its functionality.
SlideshowCK is an alternative to Responsive Fastslider, but...

- The components AccordeonmenuCK and SlideshowCK are mentioned twice. Why?


0. Install Akeeba Backup and make a backup of your site
1. Use Akeeba Kickstart to install your backed up site locally with WAMP, MAMP or XAMPP.
2. Clean up your local site, see also notes above.
3. Update all extensions first
4. See if you can update your local site now.

User avatar
ceford
Joomla! Hero
Joomla! Hero
Posts: 2863
Joined: Mon Feb 24, 2014 10:38 pm
Location: Edinburgh, Scotland
Contact:

Re: Error An error has occurred while fetching the JSON data: HTTP 500 status code. Internal Server Error

Post by ceford » Thu Jul 25, 2024 5:18 pm

Login to your administrator interface and try this in your browser url bar:

Code: Select all

https://www.duncanm23.sg-host.com/administrator/index.php?option=com_joomlaupdate&task=update.batchextensioncompatibility
With error reporting on and set to maximum you may gate a stack trace.

User avatar
dunxmax
Joomla! Intern
Joomla! Intern
Posts: 64
Joined: Mon Sep 21, 2009 9:33 am
Location: UK
Contact:

Re: Error An error has occurred while fetching the JSON data: HTTP 500 status code. Internal Server Error

Post by dunxmax » Mon Aug 05, 2024 9:55 am

OK, sorry ceford I didn't see your last reply. For some reason I'm not getting replies come through to my email.

Anyway, I just thought I would give an update.

I contacted the host, they couldn't find what was causing the problem.

So I figured I would have to go through all the extensions to see which extension was causing the issue.

To cut a corner, I disabled all of them and I still got the error message.

So, basically I gave up and decided to do try the upgrade anyway.

It worked without any problems. I guess there's still some sort of underlying problem, which I might find when I try the next update - we shall see!
The more we learn the less we know!

http://www.aquamandesign.co.uk
Committed to the Joomla way of life, based in the UK.

User avatar
Per Yngve Berg
Joomla! Master
Joomla! Master
Posts: 31284
Joined: Mon Oct 27, 2008 9:27 pm
Location: Romerike, Norway

Re: Error An error has occurred while fetching the JSON data: HTTP 500 status code. Internal Server Error

Post by Per Yngve Berg » Mon Aug 05, 2024 11:58 am

Go to System->Update->Update Sites

It shows a list of servers that updates are pulled from. I suspect one of them are mis-behaving.

jhalex
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Wed Feb 01, 2012 10:23 pm

Re: Error An error has occurred while fetching the JSON data: HTTP 500 status code. Internal Server Error

Post by jhalex » Mon Sep 09, 2024 3:04 pm

I'm having the same issue on my site. In case it helps, here's a stack trace out of the everything log.

Code: Select all

024-09-09T14:55:57+00:00       INFO 108.7.186.179      updater Loading information from update site #13 with name "Joomla! Update Component" and URL https://update.joomla.org/core/extensions/com_joomlaupdate.xml took 0.09 seconds
2024-09-09T14:56:00+00:00       CRITICAL 108.7.186.179  error   Uncaught Throwable of type Error thrown with message "Attempt to assign property "html" on null". Stack trace: #0 [internal function]: Joomla\CMS\Updater\Update->_startElement(Object(XMLParser), 'html', Array)
#1 [ROOT]/libraries/src/Updater/Update.php(526): xml_parse(Object(XMLParser), '<!DOCTYPE html>...')
#2 [ROOT]/administrator/components/com_joomlaupdate/src/Model/UpdateModel.php(1658): Joomla\CMS\Updater\Update->loadFromXml('https://joomla....', 4)
#3 [ROOT]/administrator/components/com_joomlaupdate/src/Model/UpdateModel.php(1529): Joomla\Component\Joomlaupdate\Administrator\Model\UpdateModel->checkCompatibility('https://joomla....', '5.1.4')
#4 [ROOT]/administrator/components/com_joomlaupdate/src/Controller/UpdateController.php(591): Joomla\Component\Joomlaupdate\Administrator\Model\UpdateModel->fetchCompatibility('10137', '5.1.4')
#5 [ROOT]/libraries/src/MVC/Controller/BaseController.php(693): Joomla\Component\Joomlaupdate\Administrator\Controller\UpdateController->batchextensioncompatibility()
#6 [ROOT]/libraries/src/Dispatcher/ComponentDispatcher.php(143): Joomla\CMS\MVC\Controller\BaseController->execute('batchextensionc...')
#7 [ROOT]/libraries/src/Component/ComponentHelper.php(361): Joomla\CMS\Dispatcher\ComponentDispatcher->dispatch()
#8 [ROOT]/libraries/src/Application/AdministratorApplication.php(143): Joomla\CMS\Component\ComponentHelper::renderComponent('com_joomlaupdat...')
#9 [ROOT]/libraries/src/Application/AdministratorApplication.php(186): Joomla\CMS\Application\AdministratorApplication->dispatch()
#10 [ROOT]/libraries/src/Application/CMSApplication.php(293): Joomla\CMS\Application\AdministratorApplication->doExecute()
#11 [ROOT]/administrator/includes/app.php(61): Joomla\CMS\Application\CMSApplication->execute()
#12 [ROOT]/administrator/index.php(32): require_once('/PATH/TO/ROOT/HIDDEN/...')
#13 {main}
I've occasionally found weird errors that seem to stem from this being a site that I've continually upgraded from back in the J1.5 days. Every once in a while some old php file is sitting around that mucks things up. Not sure if that is in any way relevant to this issue, but thought I'd mention it just in case.

Advertisement

Post Reply

Return to “General Questions/New to Joomla! 4.x”