Joomla, OpenCart...Themes & News

We deliver a wide range of template and extension for Joomla, OpenCart, Shopify. We update our products frequently on this blog so that you can find what you need here.
For more options, please visit our main page:

How to Fix Bugs When Update Sj Templates to Joomla 3.8

Posted by on in Joomla Tutorial
  • Font size: Larger Smaller
  • Hits: 1074
  • Subscribe to this entry
  • Print

Howdy friends!

As Joomla 3.8 release with New Routing System and Joomla 4 Compatibility Layer, we've started to update our Joomla products to this latest Joomla release. However, it may takes several weeks for us to complete the update. Do not let you wait too long, we would like to share you the instruction to fix SmartAddons Templates when updating to Joomla 3.8. Now you can update SJ Templates to Joomla 3.8 by yourself.

Fix bugs for SJ Templates on Joomla 3.8

1. YT Shortcode Error

How to Fix Bugs When Update Sj Templates to Joomla 3.8


- Re-install YT Shortcode version 3.0.4

2. mod_login Error

How to Fix Bugs When Update Sj Templates to Joomla 3.8


- Go to: html/mod_login/default.php

- Find this code:

$document       = &JFactory::getDocument();

- Remove '&' characte:

$document       = JFactory::getDocument();

3. Sj Contact Ajax Error

How to Fix Bugs When Update Sj Templates to Joomla 3.8


- Go to: libraries\src\Cache\Controller\CallbackController.php , in line 187

- Find this code:

$this->cache->store(serialize($data), $id);

- Replace by

// $this->cache->store(serialize($data), $id);

or remove it.

4. mod_sppagebuilder_admin_menu Error

How to Fix Bugs When Update Sj Templates to Joomla 3.8


- Please refer Joomshaper forum here.

5. Countdown Error in Coming Soon Page

How to Fix Bugs When Update Sj Templates to Joomla 3.8


- Go to: templates\sj_imovie\comingsoon.php (Sj iMovie as example)

- Find this code:


- Add this code:



//Load jQuery

6. 404 Error When Using Helix Framework

How to Fix Bugs When Update Sj Templates to Joomla 3.8


- Open file: templates\sj_imovie\error.php (Sj iMovie as example)

- Find this code:


- Replace by:


Or remove it.

Fix Bugs on SJ Template Using YT Framework on PHP7 & Https

1. Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP


- Go to error file and find this code:

function qwis_facebook_widget() {

- Replace by:

function __construct() {

2.Warning: Illegal string offset 'relative' in \libraries\src\HTML\HTMLHelper.php


- Re-define css & js files

- In error files, find this codes:




Replace by:

JHtml::_('script', JUri::base()."plugins/system/ytshortcodes/shortcodes/content_slider/js/content_slider.js");

JHtml::_('stylesheet', JUri::base()."plugins/system/ytshortcodes/assets/css/animate.css");

JHtml::_('stylesheet', JUri::base()."plugins/system/ytshortcodes/shortcodes/content_slider/css/content_slider.css");

3. Error Warning Php7 in Core VirtueMart


Change: Error Reporting = none

4. Enable Force HTTPS

Errors occur in Google_font and mod_sj_vm_listing_tabs


- Go to: templates\sj_revo\includes\bottom.php

- Find this code:


- Replace by:

if(isset($_SERVER['HTTPS'] )){

- Go to: templates\sj_revo\html\mod_sj_vm_listing_tabs/default.php

- Remove line code :


Our team have been starting to update all our Free and Premium Joomla templates and Professional Joomla Extensions to Joomla 3.8. If you've already updated Sj Templates to Joomla 3.7.5, you can smoothly update to Joomla 3.8. For others, please wait for our update release.

Besides, we will have an instruction blog for guiding you to update SJ Templates to Joomla 3.8. So, keep in touch with us for the good news!

Last modified on
Rate this blog entry:

SmartAddons specialize in products for Joomla. Up to now, we've had 100+ Professional Joomla Templates and 200+ Professional Joomla Extensions which are built-in with the latest standards plus optimized to satisfy customers' demands.
Our products are steadily updated to adapt any future Joomla release versions. With our design, you can build complex templates in the fastest way as well as use them for various purposes.
Our supporting team is always ready to answer any question or problem - we're here to help!
Join us now to catch up our latest news!


  • No comments made yet. Be the first to submit a comment

Leave your comment

Guest Thursday, 03 December 2020


Wohnung Löbau Auf finden Sie bestimmt Ihre neue Wohnung in Löbau.