php 8 and category list

Need help with the Administration of your Joomla! 3.x site? This is the spot for you.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
Locked
User avatar
Beata
Joomla! Ace
Joomla! Ace
Posts: 1229
Joined: Fri Mar 02, 2007 2:06 pm
Location: Lithuania

php 8 and category list

Post by Beata » Fri May 13, 2022 5:03 am

I notised that Menu type category list of articles don't work with php 8
Have somebody this problem?

User avatar
toivo
Joomla! Master
Joomla! Master
Posts: 17434
Joined: Thu Feb 15, 2007 5:48 am
Location: Sydney, Australia

Re: php 8 and category list

Post by toivo » Fri May 13, 2022 5:22 am

When you say it does not work with 8, what exactly happens?

Which template does the website use? Does it have overrides in its html folder?
Toivo Talikka, Global Moderator

User avatar
Beata
Joomla! Ace
Joomla! Ace
Posts: 1229
Joined: Fri Mar 02, 2007 2:06 pm
Location: Lithuania

Re: php 8 and category list

Post by Beata » Fri May 13, 2022 6:36 am

No found the link of list at all. Category blog is working.
I use JSN Vintage FREE template

User avatar
toivo
Joomla! Master
Joomla! Master
Posts: 17434
Joined: Thu Feb 15, 2007 5:48 am
Location: Sydney, Australia

Re: php 8 and category list

Post by toivo » Sat May 14, 2022 6:53 am

The Category List option is independent of the front end template. Category List can be selected from the Articles option in the Menu Manager:
category-list.jpg
You do not have the required permissions to view the files attached to this post.
Toivo Talikka, Global Moderator

User avatar
Beata
Joomla! Ace
Joomla! Ace
Posts: 1229
Joined: Fri Mar 02, 2007 2:06 pm
Location: Lithuania

Re: php 8 and category list

Post by Beata » Sat May 14, 2022 9:52 am

Yes, of course. I know but link does not find
With previuos php 7,4 was ok, but there was errors (codes) on the top of lists

User avatar
toivo
Joomla! Master
Joomla! Master
Posts: 17434
Joined: Thu Feb 15, 2007 5:48 am
Location: Sydney, Australia

Re: php 8 and category list

Post by toivo » Sat May 14, 2022 10:03 am

Selecting a category for Category List in Joomla 3.10.9 and PHP 8.0.15 lists the categories and the Category List produces a list of articles in that category. Is your category published?

Beata wrote:
Sat May 14, 2022 9:52 am
With previuos php 7,4 was ok, but there was errors (codes) on the top of lists
Did you happen to write down the errors or take a screenshot?

If there is something wrong in the categories table of the website, go to Articles:Categories and click the button Rebuild. Hopefully that will help.
Toivo Talikka, Global Moderator

User avatar
Beata
Joomla! Ace
Joomla! Ace
Posts: 1229
Joined: Fri Mar 02, 2007 2:06 pm
Location: Lithuania

Re: php 8 and category list

Post by Beata » Sat May 14, 2022 10:07 am

I will show photo with php 8 and php 7,4
Maybe you will help to find solution
You do not have the required permissions to view the files attached to this post.
Last edited by Beata on Sat May 14, 2022 10:23 am, edited 1 time in total.

User avatar
Beata
Joomla! Ace
Joomla! Ace
Posts: 1229
Joined: Fri Mar 02, 2007 2:06 pm
Location: Lithuania

Re: php 8 and category list

Post by Beata » Sat May 14, 2022 10:19 am

As I remember no errors code were with previous php, maybe 7,3...

User avatar
toivo
Joomla! Master
Joomla! Master
Posts: 17434
Joined: Thu Feb 15, 2007 5:48 am
Location: Sydney, Australia

Re: php 8 and category list

Post by toivo » Sat May 14, 2022 10:37 am

The warning in the first screenshot comes from the system plugin JSN TplFramework. Get the latest version of the template or contact the developer for a fix.

The message in the second screenshot is likely to originate from the template or its framework.
Toivo Talikka, Global Moderator

User avatar
Beata
Joomla! Ace
Joomla! Ace
Posts: 1229
Joined: Fri Mar 02, 2007 2:06 pm
Location: Lithuania

Re: php 8 and category list

Post by Beata » Sat May 14, 2022 11:55 am

I see that i have
Framework: 3.2.9 - The latest version.

User avatar
toivo
Joomla! Master
Joomla! Master
Posts: 17434
Joined: Thu Feb 15, 2007 5:48 am
Location: Sydney, Australia

Re: php 8 and category list

Post by toivo » Sat May 14, 2022 1:05 pm

If the developer is unable to get rid of the warnings, change the level of error reporting in Global Configuration to 'None' and check if that gets rid of the messages and if the site still works.
Toivo Talikka, Global Moderator

User avatar
Beata
Joomla! Ace
Joomla! Ace
Posts: 1229
Joined: Fri Mar 02, 2007 2:06 pm
Location: Lithuania

Re: php 8 and category list

Post by Beata » Sat May 14, 2022 2:03 pm

OK, I already wrote to developer, if will not get some answer (the template is free), I will try to do what you suggested.
Thank you.


Locked

Return to “Administration Joomla! 3.x”