Hello i have this error message
Warning: Creating default object from empty value in /home/sotiropo/public_html/administrator/components/com_phocagallery/libraries/phocagallery/image/imagefront.php on line 412
Also i had and the same warning on line 370 but i put your code in line 370 "$fileThumbnail = new StdClass();" and now everything is ok.
I have joomla 1.5.26
phoca gallery 2.8.1
Apache Version 2.4.25
PHP Version 5.6.30
Can you help me;
Thank you anyway.
Warning: Creating default object from empty value on line 411
-
- Phoca Newbie
- Posts: 3
- Joined: 18 Apr 2017, 10:13
-
- Phoca Hero
- Posts: 2818
- Joined: 28 Nov 2010, 17:20
Re: Warning: Creating default object from empty value on line 411
Hi,
first of all: Joomla 1.5 > Support ended on 31 December 2012; for Joomla 2.5 > 2014
you should think about migration from J 1.5 to 2.5 and then to J 3.6.5
PHP version 5.6.30 is too high for Joomla 1.5 > https://downloads.joomla.org/technical-requirements
Info about migration: https://www.phoca.cz/documents/2-phoca-g ... ca-gallery
current PG versions for Joomla: https://www.phoca.cz/download/category/1 ... -component
Kind regards, Christine
first of all: Joomla 1.5 > Support ended on 31 December 2012; for Joomla 2.5 > 2014
you should think about migration from J 1.5 to 2.5 and then to J 3.6.5
PHP version 5.6.30 is too high for Joomla 1.5 > https://downloads.joomla.org/technical-requirements
Info about migration: https://www.phoca.cz/documents/2-phoca-g ... ca-gallery
current PG versions for Joomla: https://www.phoca.cz/download/category/1 ... -component
Kind regards, Christine
-
- Phoca Newbie
- Posts: 3
- Joined: 18 Apr 2017, 10:13
Re: Warning: Creating default object from empty value on line 411
Thank you very much for your advices.I know that is the correct move and I will update the site in joomla 3 soon as possible but in this moment i have to fix this error. So , anyone who have some answer what to do?
Thanks
Thanks
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Warning: Creating default object from empty value on line 411
Hi, in such case you need need to edit all the parts with this problem. e.g. on line cca 410
$image = new StdClass();
etc.
Jan
$image = new StdClass();
etc.
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 3
- Joined: 18 Apr 2017, 10:13
Re: Warning: Creating default object from empty value on line 411
Jan , thank you very much for your advices. It seems everything is ok now. You are amazing!!!! Also is true that you are a phoca Hero...
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Warning: Creating default object from empty value on line 411
Ok
If you find Phoca extensions useful, please support the project