QTpro

Uncaught Error: Call to a member function data_seek() - QTpro

Uncaught Error: Call to a member function data_seek()

by artfulweb » Thu Jun 09, 2022 9:05 am

Hello Rainer,
In Phoenix 1.0.8.15 I am getting these in QTPro and Options as images. Can not change or delete the image for an option in products_attributes and in the QtPro Doctor has a warning Warning: Trying to access array offset on value of type null in. Any ideas?

PHP Fatal error: Uncaught Error: Call to a member function data_seek() on null in /xxx/xxx/xxx/catalog/includes/hooks/admin/products_attributes/OptImages.php:207
Stack trace:
#0 /xxx/xxx/xxx/catalog/includes/system/versioned/1.0.8.1/hooks.php(150): hook_admin_products_attributes_OptImages->listen_injectSiteEnd(Array)
#1 /xxx/xxx/xxx/catalog/admin/includes/template_bottom.php(21): hooks->cat('injectSiteEnd')
#2 /xxx/xxx/xxx/catalog/admin/products_attributes.php(627): require('/xxx/xx/x...')
#3 {main}
thrown in /xxx/xxx/xxx/catalog/includes/hooks/admin/products_attributes/OptImages.php on line 207

Warning: Undefined array key "delete_value_image" in /xxx/xxx/xxx/catalog/includes/hooks/admin/products_attributes/OptImages.php on line 61 Warning: Cannot modify header information - headers already sent by (output started at /xxx/xxx/xxx/catalog/includes/hooks/admin/products_attributes/OptImages.php:61) in /xxx/xxx/xxx/catalog/includes/system/versioned/1.0.8.5/href.php on line 168

Warning: Trying to access array offset on value of type null in /xxx/xxx/xxx/catalog/admin/includes/functions/qtpro_functions.php on line 282
artfulweb
VIP Member
VIP Member
Posts: 119
Joined: Thu Oct 29, 2020 12:34 pm
Contact:

Re: Uncaught Error: Call to a member function data_seek()

by raiwa » Thu Jun 09, 2022 10:09 am

Which qtpro and options images versions are you using? Should be latest versions QTpro 7.4.4 and Options Images 2.2
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
raiwa
PhoenixCart Developer
PhoenixCart Developer
Posts: 1184
Joined: Sat Dec 21, 2019 8:08 am
Contact:

Re: Uncaught Error: Call to a member function data_seek()

by raiwa » Thu Jun 09, 2022 12:09 pm

I just checked and updated my test store to Phoenix 1.0.8.15. I do not see any error message and all seems to work like expected.
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
raiwa
PhoenixCart Developer
PhoenixCart Developer
Posts: 1184
Joined: Sat Dec 21, 2019 8:08 am
Contact:

Re: Uncaught Error: Call to a member function data_seek()

by artfulweb » Thu Jun 09, 2022 12:25 pm

raiwa wrote:Which qtpro and options images versions are you using? Should be latest versions QTpro 7.4.4 and Options Images 2.2
Yes, those are the versions but the errors are there unfortunately. Can not change the image on th attribute page.
artfulweb
VIP Member
VIP Member
Posts: 119
Joined: Thu Oct 29, 2020 12:34 pm
Contact:

Re: Uncaught Error: Call to a member function data_seek()

by raiwa » Thu Jun 09, 2022 5:40 pm

I can't reproduce the error. Pease check your installation, maybe check in a clean unmodified teststore.
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
raiwa
PhoenixCart Developer
PhoenixCart Developer
Posts: 1184
Joined: Sat Dec 21, 2019 8:08 am
Contact: