No Code Attached Yet Information Required
avatar ghazal
ghazal
2 Apr 2025

Just updated a local test site to 5.3.0-RC1 and noticed this JS error in front-end display:
Uncaught TypeError: Node.appendChild: Argument 1 is not an object.

Probably related to this line:
<script> (function(){ document.addEventListener('DOMContentLoaded',function(){ var ai = document.getElementsByClassName('article-index'); var target = document.getElementById('mod_article_index'); target.appendChild(ai[0]); }); })(); </script>

Info:
this test site has no fancy extension,
no change has been made to cassiopeia template nor to its index.php.
It's a kind of low-level benchmark for my tests.

avatar ghazal ghazal - open - 2 Apr 2025
avatar ghazal ghazal - change - 2 Apr 2025
Labels Removed: ?
avatar joomla-cms-bot joomla-cms-bot - change - 2 Apr 2025
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 2 Apr 2025
avatar ghazal ghazal - change - 2 Apr 2025
Title
JavaScript error in index.php of Cassiopeia t
[5.3.0-RC1 ] JavaScript error in index.php of Cassiopeia
avatar ghazal ghazal - edited - 2 Apr 2025
avatar ghazal ghazal - change - 2 Apr 2025
The description was changed
avatar ghazal ghazal - edited - 2 Apr 2025
avatar brianteeman
brianteeman - comment - 2 Apr 2025

are you sure you dont have any extensions installed? I cant find mod_article_index anywhere

avatar brianteeman
brianteeman - comment - 2 Apr 2025
avatar richard67 richard67 - change - 3 Apr 2025
Labels Added: Information Required
avatar richard67 richard67 - labeled - 3 Apr 2025
avatar richard67
richard67 - comment - 3 Apr 2025

Looks like this is the cause of your problem

https://www.richeyweb.com/joomla-techniques/joomla-article-index-in-a-module-position

@ghazal Could you check and report back if this is the case? Thanks in advance.

avatar ghazal
ghazal - comment - 3 Apr 2025

@brianteeman
Wow. Good catch.

@richard67
Yes. It definitely was the cause of the problem.

Sorry.

avatar richard67 richard67 - change - 3 Apr 2025
Status New Closed
Closed_Date 0000-00-00 00:00:00 2025-04-03 12:04:34
Closed_By richard67
avatar richard67 richard67 - close - 3 Apr 2025
avatar richard67
richard67 - comment - 3 Apr 2025

Closing as not an issue with the CMS core.

Add a Comment

Login with GitHub to post a comment