As I said in this discussion: http://forum.virtuemart.net/index.php?topic=148823.0 (http://forum.virtuemart.net/index.php?topic=148823.0) I have recently updated to version 4.0.7 (compatible J3/J4 bugfix RC) on a test site and the errors that existed with the Joomla router have been corrected when Virtuemart SEO was enabled, no error is shown in the logs of Apache on a site with Joomla 4.2.2 and PHP 8.0.23 .
But now I have a doubt to see if they can solve it for me. Previously with Joomla 3.10.x the Home in the main menu was defined as
Frontend page
Use with option Vm-Manager activated, or as old Front page (deprecated)
Front-end managing your store. But deprecated to display products, Use 'Category Layout' instead.
with this URL: index.php?option=com_virtuemart&view=virtuemart
But with Joomla 4 this gives a 404 error. What should we do to display the Virtuemart home page as before?
Thank you
that menu has been marked as depreciated for ages
use a std. VM top level category menu if u require a VM home page
index.php?option=com_virtuemart&view=category&virtuemart_category_id=0&virtuemart_manufacturer_id=0
Thank you
Does that option have to be chosen from Menu --> Viertuemart --> Category Layout, "Top Level Category"?
But that URL produces an error: 404: 0 Unsupported operand types: string % string
Even if any category is chosen
Is there no other way to choose a home page for Virtuemart?
QuoteBut that URL produces an error: 404: 0 Unsupported operand types: string % string
must be your template ... provide a trace of the fatal error ... or test with std. Beez template
I'm working with Joomla 4, Beez doesn't exist, I use a Cassiopeia child template.
If I use that menu configuration in Joomla's default Cassiopeia the error disappears, but all the categories appear on the page, which is not acceptable.
The page is this one with the Menu configuration of this image:
https://my-ebook.es/images/cassiopeia-es.jpg (https://my-ebook.es/images/cassiopeia-es.jpg)
https://my-ebook.es/
Edited:
incomprehensible !!! After changing from the default template to the child template the error has disappeared, but all the categories still appear on the home page.
QuoteIf I use that menu configuration in Joomla's default Cassiopeia the error disappears, but all the categories appear on the page, which is not acceptable.
switch them off in the menu configuration! There are dozens of settings...
Quote from: chupi on September 23, 2022, 11:34:11 AM
But that URL produces an error: 404: 0 Unsupported operand types: string % string
I had a similar error message, and problem was the old language files. There are new handling: all '%s' need to be '%1$s' Maybe same?