A question!
I installed 1.5.7 on my test site and works fine.
Now I want to modify tpl_main_page.php to block some columns.
In layout settings I have ACTIVATE Responsive Template set to 1.
When I upload tpl_main_page.php from responsive classic template to my own template in my test site the storefront no longer shows up and in my log is the following fatal error..
Code:
[01-Aug-2020 10:29:23 Europe/Zurich] Request URI: /CatalogTest/index.php?main_page=index, IP address: 87.245.97.248
--> PHP Fatal error: Uncaught Error: Call to a member function isMobile() on null in /home/httpd/vhosts/simmar.ch/CatalogTest.simmar.ch/CatalogTest/includes/templates/OWNTEMPLATE/common/tpl_main_page.php:97
Stack trace:
#0 /home/httpd/vhosts/simmar.ch/CatalogTest.simmar.ch/CatalogTest/index.php(94): require()
#1 {main}
thrown in /home/httpd/vhosts/simmar.ch/CatalogTest.simmar.ch/CatalogTest/includes/templates/OWNTEMPLATE/common/tpl_main_page.php on line 97.
When I upload tpl_main_page.php from template default template to my own template in my test site everything works OK.
My question is - I assume I should be using the responsive_classic version and not the template default one or?
Appreciate any advice/help.
Bookmarks