Forum


TFshop PHP error

Pierrick LE BRUN
96%
Posts: 96
TF Shop
July 01, 2022

Hi,

These error show up every few seconds in my PHP error logs:

PHP Notice: Undefined index: target in libraries/techfry/src/View/Air/Button.php on line 28

PHP Notice: Undefined property: stdClass::$isbn in components/com_tfshop/tmpl/product/default_tfsd.php on line 50

Is it a bug, or is it something I didn't configure properly ?

Joomla Fry
100%
Posts: 947
July 01, 2022

Thank you for informing about the error.

These will be solved in next update.

Pierrick LE BRUN
96%
Posts: 96
July 11, 2022
Hi, Applied the new TF library update previous errors are now gone. But new ones showed up : PHP Notice: Undefined property: stdClass::$id in /home/mossieur/staging/libraries/techfry/src/Model/TfModelTrait.php on line 240 PHP Notice: Undefined index: orders in /home/mossieur/staging/libraries/src/Component/Router/Rules/StandardRules.php on line 209 PHP Notice: Trying to get property 'key' of non-object in /home/mossieur/staging/libraries/src/Component/Router/Rules/StandardRules.php on line 211
Joomla Fry
100%
Posts: 947
July 12, 2022

Hello

First error is solved. We are working on the other two.

Pierrick LE BRUN
96%
Posts: 96
July 20, 2022
Hi, just letting you know that i updated today to your last version and here are the errors still showing up now : [20-Jul-2022 11:45:24 Europe/Paris] PHP Notice: Undefined property: stdClass::$isbn in /xxx/xxx/xxx/components/com_tfshop/tmpl/product/default_tfsd.php on line 50 [20-Jul-2022 11:46:01 Europe/Paris] PHP Notice: Undefined index: orders in /xxx/xxx/xxx/libraries/src/Component/Router/Rules/StandardRules.php on line 209 [20-Jul-2022 11:46:01 Europe/Paris] PHP Notice: Trying to get property 'key' of non-object in /xxx/xxx/xxx/libraries/src/Component/Router/Rules/StandardRules.php on line 211 I have another question which maybe related to this... Why do I have two orders option in TF dashboard (See pics attached)? The one called "Orders" lead me to https://xxx/administrator/index.php?option=com_tfshop&view=orders and the other Order Items" lead me to https://xxx/index.php?option=com_tfshop&view=orderitems The only difference I can see is that one shows what have been paid and not the other. Is there something I'm missing here ?
Pierrick LE BRUN
96%
Posts: 96
July 20, 2022
Sorry, here is the pic for the previous post
Joomla Fry
100%
Posts: 947
July 21, 2022

Hello

First two errors are solved. We are working on third one.

Order can contain multiple order items (for cart type orders). So, order items was added to improve database structure and scope adding more features in future.

 

Pierrick LE BRUN
96%
Posts: 96
July 21, 2022
Ah yes, thanks for the explanation.
Pierrick LE BRUN
96%
Posts: 96
September 03, 2022

Hi, this error still shows :

Notice: Undefined property: stdClass::$isbn in /xxx/xxx/xxx/components/com_tfshop/tmpl/product/default_tfsd.php on line 50

Joomla Fry
100%
Posts: 947
September 03, 2022

We are checking it. It will be resolved in next update in couple of days.

Pierrick LE BRUN
96%
Posts: 96
September 04, 2022

Thanks !!

Login to Reply