Greetings Rainer.
found these like bugs on Phoenix 1.0.9.9, PHP 7.4/8.3
Notice: Undefined index: weight_prefix in /includes/system/override/attrib_weight/shopping_cart.php on line 307
Notice: Undefined index: weight in /includes/system/override/attrib_weight/shopping_cart.php on line 310
Attributes Weight
Undefined index: weight_prefix - Attributes Weight
-
Owl
- Member
- Posts: 38
- Joined: Sun Feb 28, 2021 8:03 pm
- Phoenix Version:
- Contact:
Re: Undefined index: weight_prefix
Maybe you didn't install one of the attributes weight product info modules ? (content or layout )
Or check if you have the override product_loader uploaded or if you have another product_loader class in the override directory which loads after the product_weight override class. If yes, you need to combine the modifications of both into one override product_loader class
Or check if you have the override product_loader uploaded or if you have another product_loader class in the override directory which loads after the product_weight override class. If yes, you need to combine the modifications of both into one override product_loader class
Public Phoenix Change Log Cheat Set on Google Sheets
https://docs.google.com/spreadsheets/d/ ... sp=sharing
Need Help?viewtopic.php?f=10&t=27
https://docs.google.com/spreadsheets/d/ ... sp=sharing
Need Help?viewtopic.php?f=10&t=27
-
raiwa
- Certified Developer
- Posts: 1640
- Joined: Sat Dec 21, 2019 8:08 am
- Phoenix Version: 1.1.0.6
- : Buy Me A Beverage
- Contact:
Re: Undefined index: weight_prefix
Its a "clean install" with only QtPro and your Attributes Weight.
both product_loader.php are similar and adding these two lines:
'weight' => ((($attribute['option_weight'] > 0)? $attribute['option_weight'] : (($attribute['products_options_values_weight'] > 0)? $attribute['products_options_values_weight'] : '0' )) ),
'weight_prefix' => ((!empty($attribute['option_weight_prefix'])? $attribute['option_weight_prefix'] : (!empty($attribute['products_options_values_weight_prefix'])? $attribute['products_options_values_weight_prefix'] : '+' )) ),
makes them equal and now getting:
Notice: Undefined index: option_weight in /xxx/includes/system/override/qtpro/product_loader.php on line 74
Notice: Undefined index: products_options_values_weight in /xxx/includes/system/override/qtpro/product_loader.php on line 74
both product_loader.php are similar and adding these two lines:
'weight' => ((($attribute['option_weight'] > 0)? $attribute['option_weight'] : (($attribute['products_options_values_weight'] > 0)? $attribute['products_options_values_weight'] : '0' )) ),
'weight_prefix' => ((!empty($attribute['option_weight_prefix'])? $attribute['option_weight_prefix'] : (!empty($attribute['products_options_values_weight_prefix'])? $attribute['products_options_values_weight_prefix'] : '+' )) ),
makes them equal and now getting:
Notice: Undefined index: option_weight in /xxx/includes/system/override/qtpro/product_loader.php on line 74
Notice: Undefined index: products_options_values_weight in /xxx/includes/system/override/qtpro/product_loader.php on line 74
-
Owl
- Member
- Posts: 38
- Joined: Sun Feb 28, 2021 8:03 pm
- Phoenix Version:
- Contact:
Re: Undefined index: weight_prefix
I can't reproduce that error on my test store.
Make sure you have one of the options weight product info modules installed and the 2 columns added in the products_options_values and products_attributes tables.
Once installed and the columns added in the database, you can remove the weight module and it should work with the qtpro module.
Anyway these are only notice errors and it should work.
Make sure you have one of the options weight product info modules installed and the 2 columns added in the products_options_values and products_attributes tables.
Once installed and the columns added in the database, you can remove the weight module and it should work with the qtpro module.
Anyway these are only notice errors and it should work.
Public Phoenix Change Log Cheat Set on Google Sheets
https://docs.google.com/spreadsheets/d/ ... sp=sharing
Need Help?viewtopic.php?f=10&t=27
https://docs.google.com/spreadsheets/d/ ... sp=sharing
Need Help?viewtopic.php?f=10&t=27
-
raiwa
- Certified Developer
- Posts: 1640
- Joined: Sat Dec 21, 2019 8:08 am
- Phoenix Version: 1.1.0.6
- : Buy Me A Beverage
- Contact: