Maximenu et virtuemart Jrequest

More
2 years 4 months ago #66490 by micker
Hello je suis en train de bosser sur une mise à jour en j4
et j'ai cette erreur
Class "JRequest" not found
JROOT\plugins\maximenuck\virtuemart\helper\helper_virtuemart.php:123

niveau mise à jour cela me semble ok
Maximenu CK Administration Composant 9.1.27
Maximenu CK Site Module 9.1.27
Maximenu CK - Adsmanager Site Plug-in 9.1.21
Maximenu CK - Articles by date Site Plug-in 9.1.25
Maximenu CK - Categories Site Plug-in 9.1.25
Maximenu CK - Hikashop Site Plug-in 9.1.25
Maximenu CK - Joomshopping Site Plug-in 9.1.21
Maximenu CK - K2 Site Plug-in 9.1.21
Maximenu CK - Virtuemart Site Plug-in 9.1.21
System - Maximenu CK Site Plug-in 9.1.21

des idées ?

Please Log in or Create an account to join the conversation.

More
2 years 4 months ago #66491 by ced1870
Salut
je viens de vérfiier, effectivement il y a un coquin qui est passé à travers les mailles du filet
remplace la ligne
Code:
$active_category_id = JRequest::getInt('virtuemart_category_id', '0');
par
Code:
$app = JFactory::getApplication(); $input = $app->input; $active_category_id = $input->get('virtuemart_category_id', '0', 'int');

et dis moi ce que ça donne
CEd

Joomlack Webmaster and Developer

Please Log in or Create an account to join the conversation.

More
2 years 3 months ago #66580 by micker
cool ca fonctionne ! merci

Please Log in or Create an account to join the conversation.

More
2 years 3 months ago #66603 by ced1870
j'ai mis en ligne dans la 9.1.28

Joomlack Webmaster and Developer

Please Log in or Create an account to join the conversation.

Time to create page: 0.209 seconds

Fast and powerful creation, customizable and responsive.

Read More

We have 866 guests and one member online