Error with imagepalettetotruecolor() in ThemeXpert and Quix

Everything to do with Joomla! 4.x templates and templating.

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.
Post Reply
mrjuke4859
Joomla! Intern
Joomla! Intern
Posts: 94
Joined: Sat Aug 01, 2009 11:53 am

Error with imagepalettetotruecolor() in ThemeXpert and Quix

Post by mrjuke4859 » Sun Mar 12, 2023 4:32 pm

I'm using themexpert and Quix. I'm getting this error

0 - imagepalettetotruecolor(): Argument #1 ($image) must be of type GdImage, null given

When looking online it's saying that 8.0 php could be the problem. Anyone know how to fix this?

Thanks
Last edited by toivo on Sun Mar 12, 2023 8:01 pm, edited 1 time in total.
Reason: mod note: moved from 4.x General Questions, retitled

User avatar
Per Yngve Berg
Joomla! Master
Joomla! Master
Posts: 29802
Joined: Mon Oct 27, 2008 9:27 pm
Location: Romerike, Norway

Re: Error

Post by Per Yngve Berg » Sun Mar 12, 2023 6:45 pm

The problem is in the code where $image is being initialized.

Have you set Error Reporting to 'maximum' and enabled Debug?

mrjuke4859
Joomla! Intern
Joomla! Intern
Posts: 94
Joined: Sat Aug 01, 2009 11:53 am

Re: Error with imagepalettetotruecolor() in ThemeXpert and Quix

Post by mrjuke4859 » Sat Mar 18, 2023 3:41 pm

Yes I set the error reporting to Ma and enambeld debug. I have no idea what it means. What do I do next? I changed the php 8.0 back to php 7.x and it works fine. so there is a problem in PHP 8. How do I report this error?

gws
Joomla! Champion
Joomla! Champion
Posts: 5110
Joined: Tue Aug 23, 2005 1:56 pm
Location: South coast, UK
Contact:

Re: Error with imagepalettetotruecolor() in ThemeXpert and Quix

Post by gws » Sat Mar 18, 2023 4:59 pm

Report it to the devs.

mrjuke4859
Joomla! Intern
Joomla! Intern
Posts: 94
Joined: Sat Aug 01, 2009 11:53 am

Re: Error with imagepalettetotruecolor() in ThemeXpert and Quix

Post by mrjuke4859 » Sat Mar 18, 2023 5:23 pm

gws
can you point me in the direction for the devs. I've looked and can't find the section.
Thanks

gws
Joomla! Champion
Joomla! Champion
Posts: 5110
Joined: Tue Aug 23, 2005 1:56 pm
Location: South coast, UK
Contact:

Re: Error with imagepalettetotruecolor() in ThemeXpert and Quix

Post by gws » Sat Mar 18, 2023 5:26 pm

The developers of themexpert and quix.

mrjuke4859
Joomla! Intern
Joomla! Intern
Posts: 94
Joined: Sat Aug 01, 2009 11:53 am

Re: Error with imagepalettetotruecolor() in ThemeXpert and Quix

Post by mrjuke4859 » Sat Mar 18, 2023 5:32 pm

thanks


Post Reply

Return to “Templates for Joomla! 4.x”