Error "Call to undefined function printContent()" when using search

14.12.2023 10:51
#1
rbuelund
Joomshopping forum user no avatar
Name: Ronny
13.12.2023
Сообщения: 4
Quote
Error "Call to undefined function printContent()" when using search

When using the search function and click on a product in the results I get:

0 Call to undefined function printContent()

Call stack
# Function Location
1 () JROOT/components/com_jshopping/templates/default/product/product_simple.php:8
2 include() JROOT/libraries/src/MVC/View/HtmlView.php:415
3 Joomla\CMS\MVC\View\HtmlView->loadTemplate() JROOT/libraries/src/MVC/View/HtmlView.php:203
4 Joomla\CMS\MVC\View\HtmlView->display() JROOT/components/com_jshopping/Controller/ProductController.php:166


Joomla: 4.4.1
JoomShopping: 5.2.2
PHP: 8.1
MySQL: 5.7
 
14.12.2023 11:47
#2
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Сообщения: 25941
Quote
Aw: Error "Call to undefined function printContent()" when using search

product_simple.php - old version template (JoomShopping 4)

1. Configuration / Shop functions

Use individual template for each category and product: Y

-----
2 .Open product in admin area
edit

set template: default

 
15.12.2023 21:28
#3
rbuelund
Joomshopping forum user no avatar
Name: Ronny
13.12.2023
Сообщения: 4
Quote
Aw: Error "Call to undefined function printContent()" when using search

Yep - found that - thank you.

 


Copyrights MAXXmarketing GmbH. Alle Rechte vorbehalten
Durch die Nutzung dieser Website stimme ich zu, dass Cookies zur optimalen Gestaltung der Website sowie zur Analyse der Nutzung der Website verwendet werden. Weiterführende Informationen finden Sie hier. OK, einverstanden.