0 You have not supplied and 0 Missing format specifier at end of string

Started by sylwekb, June 15, 2023, 11:58:50 AM

Previous topic - Next topic

sylwekb

Update to Joomla 4.3.2 and VirtueMart 4.0.20 10851 php 8

I updated on a backup in a subdirectory and I get the below errors.
Logs in correctly to users and to the administration panel.
Is there any way to improve or is it only in the paid version? I can't redeem at the moment.

     0 You have not supplied a valid HTTP status code

    0 Missing format specifier at end of string

Call stack
#    Function    Location
1    ()    JROOT/administrator/components/com_virtuemart/helpers/vmtext.php:149
2    sprintf()    JROOT/administrator/components/com_virtuemart/helpers/vmtext.php:149
3    vmText::sprintf()    JROOT/administrator/components/com_virtuemart/views/product/tmpl/product_edit_customer.php:72
4    include()    JROOT/libraries/src/MVC/View/HtmlView.php:410
5    Joomla\CMS\MVC\View\HtmlView->loadTemplate()    JROOT/administrator/components/com_virtuemart/views/product/tmpl/product_edit_status.php:126
6    include()    JROOT/libraries/src/MVC/View/HtmlView.php:410
7    Joomla\CMS\MVC\View\HtmlView->loadTemplate()    JROOT/administrator/components/com_virtuemart/helpers/adminui.php:239
8    AdminUIHelper::buildTabs()    JROOT/administrator/components/com_virtuemart/views/product/tmpl/product_edit.php:46
9    include()    JROOT/libraries/src/MVC/View/HtmlView.php:410
10    Joomla\CMS\MVC\View\HtmlView->loadTemplate()    JROOT/administrator/components/com_virtuemart/helpers/vmviewadmin.php:78
11    VmViewAdmin->display()    JROOT/administrator/components/com_virtuemart/views/product/view.html.php:589
12    VirtuemartViewProduct->display()    JROOT/administrator/components/com_virtuemart/helpers/vmcontroller.php:126
13    VmController->display()    JROOT/administrator/components/com_virtuemart/helpers/vmcontroller.php:151
14    VmController->edit()    JROOT/administrator/components/com_virtuemart/controllers/product.php:46
15    VirtuemartControllerProduct->edit()    JROOT/libraries/src/MVC/Controller/BaseController.php:678
16    Joomla\CMS\MVC\Controller\BaseController->execute()    JROOT/administrator/components/com_virtuemart/virtuemart.php:77
17    require_once()    JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:71
18    Joomla\CMS\Dispatcher\LegacyComponentDispatcher::Joomla\CMS\Dispatcher\{closure}()    JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:73
19    Joomla\CMS\Dispatcher\LegacyComponentDispatcher->dispatch()    JROOT/libraries/src/Component/ComponentHelper.php:361
20    Joomla\CMS\Component\ComponentHelper::renderComponent()    JROOT/libraries/src/Application/AdministratorApplication.php:143
21    Joomla\CMS\Application\AdministratorApplication->dispatch()    JROOT/libraries/src/Application/AdministratorApplication.php:186
22    Joomla\CMS\Application\AdministratorApplication->doExecute()    JROOT/libraries/src/Application/CMSApplication.php:293
23    Joomla\CMS\Application\CMSApplication->execute()    JROOT/administrator/includes/app.php:61
24    require_once()    JROOT/administrator/index.php:32

nehakakar

The error originates in the file product_edit_customer.php on line 72. Open this file and look for :sprintf() function call. Make sure that the formatting specifiers and arguments match correctly. If there's any issue with the formatting, correct it based on the expected format.