[TYPO3-shop] fatal error[UPDATE]

Johnny Peck johnny at slipcasemedia.com
Sat Dec 9 13:43:47 CET 2006


Franz,

	I have spent the last 8 hours fussing with various combinations of 
tt_products and required exts. along with various setups only to find 
that last night during an upgrade to the grid server that I am testing 
on, rather than the dedicated servers I also use, they upgraded to 
version 5.2 of PHP. This version of PHP is what caused the error. I am 
in discussion with them to rollback to the previous 5.x branch for the 
time being and they are working on the solution. Anyhow, take into 
account that PHP team has made the changes going forward to not allow 
certain things going forward. One of those things being:

The PHP 5.0/5.1 fallback - returning a string that contains the object
   identifier - has been dropped in PHP 5.2. It became problematic 
because an object identifier cannot be considered unique. This change 
will mean that your application is flawed if you have relied on the 
object identifier as a return value. An attempt to use that value as a 
string will now result in a catchable fatal error (see above).

You can view these issues at the following url: 
http://www.php.net/UPDATE_5_2.txt

This has been taking my whole day initially thinking there were issues 
in the database migration and then considering a whole load of other 
possibilities and testing them to no avail. I don't know the inner 
workings of tt_products well enough to fix much of it but be aware, 
2.5.1 will not move forward well with PHP as it is now.

Greetings and thank you so much for all of your work. I hope to one day 
be in a position to contribute financially at least, at the moment 
though, a guys gotta pay the rent and it is not coming easily.

Johnny

Johnny Peck wrote:
> Johnny Peck wrote:
>> Greetings,
>>     To go with my previous post here is an error output from any page 
>> containing a product plugin of any type.
>>
>>
>> Catchable fatal error: Object of class tx_ttproducts_list_view could 
>> not be converted to string in 
>> /home/4283/domains/blacksburgtobacco.com/html/typo3conf/ext/tt_products/view/class.tx_ttproducts_list_view.php 
>> on line 339
>>
>>
>> Johnny
> 
> It will show categories and the basket fine but of course no products in 
> list views.
> 
> Johnny


More information about the TYPO3-project-tt-products mailing list