Black Friday 2026 50% off every plan Our biggest deal of the year on #1 Joomla products.
Ends in 15d 07h 06m 50s
Claim 50% off
Solved SP Page Builder Joomla 5 v6.10

getting Warning error when trying to insert Joomla module into page

Asked by Dina Abramson 3 days ago Last activity 2 days ago

I created a J2Store Products display module titled Hanging Garment Lockers mod and added it to the pagebuilder page but get the following warnings

Warning: include(/home/tomkenyo/public_html/components/com_content/router.php): Failed to open stream: No such file or directory in /home/tomkenyo/public_html/modules/mod_j2products/helper.php on line 17

Warning: include(): Failed opening '/home/tomkenyo/public_html/components/com_content/router.php' for inclusion (include_path='.:/opt/remi/php84/root/usr/share/pear:/opt/remi/php84/root/usr/share/php:/usr/share/pear:/usr/share/php') in /home/tomkenyo/public_html/modules/mod_j2products/helper.php on line 17

I also see the following when I turn on Error Reporting

Deprecated: htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated in /home/tomkenyo/public_html/modules/mod_j2products/mod_j2products.php on line 28

Is this something that can be corrected?

Accepted answer

Marked as the solution
Paul Frankowski Senior Staff
3 days ago · edited

Tip #1: Contact the new developer.

Tip #2: Remove the old module(s) from J2Store; use a new one from a fork (J2Commerce), you need version 4.1.2, not 1.3 as you have.

info__772.webp

Useful links are below

6 more replies

Dina Abramson Asked this

Now I have done something and the warning / error doesn't appear any longer but the module is still published to the page.
No idea why it isn't showing now but maybe you could figure it out - please?

Paul Frankowski Senior Staff
3 days ago · edited

Hi Dina,

Sorry, but we don't support the J2Store extension. Your version is very old. The developer abandoned that project/extension months ago. That's why you're seeing deprecation errors, etc.

Paul Frankowski Senior Staff
3 days ago · edited

That's all I can help with. Mark the topic as solved.

Dina Abramson Asked this

I should have indicated that it was J2Commerce vs. J2 Store.
this is the 2nd site I have upgraded to Joomla 5 with the latest J2 component.
Thanks for the tip on the old module, I will work at it.

Paul Frankowski Senior Staff

I hope you checked this time with the J2Commerce module.

Dina Abramson Asked this

yes, got it working, thaks

Log in to reply.