Hi;
Using 1.0.8.20 and php7.4 ....I am getting this error on index.php.
To check I uninstalled all index modular modules but error still shows...
Can you help me understand the issue please.....
Fatal error
: Uncaught Error: Call to a member function get() on null in /xx/xx/includes/modules/pi/product_info/pi_gallery.php:36 Stack trace: #0 /xx/xx/includes/modules/content/index/cm_i_modular.php(42): pi_gallery->getOutput() #1 /xx/xx/includes/system/override/slim_checkout/template.php(114): cm_i_modular->execute() #2 /xx/xx/templates/override/includes/pages/index.php(44): Template->get_content('index') #3 /xx/xx/index.php(17): require('/xx/xx
Help shall be deeply appreciated;
Thank you in advance;
Warm Regds./
radhavallabh
Index .php error
-
radhavallabh
- Senior Contributor
- Posts: 466
- Joined: Tue Oct 27, 2020 4:09 am
- Phoenix Version: 1.1.0.6
- Has thanked: 29 times
- Been thanked: 3 times
-
ecartz
- Core Team
- Posts: 3084
- Joined: Tue Nov 05, 2019 6:02 pm
- Phoenix Version:
- Has thanked: 4 times
- Been thanked: 208 times
Re: Index .php error
Try applying
https://github.com/CE-PhoenixCart/Phoen ... 040d620f35
https://github.com/CE-PhoenixCart/Phoen ... a7072d7a4e
https://github.com/CE-PhoenixCart/Phoen ... 5064251df6
And/or uninstall all the product_info layout modules and then reinstall them with the modules page limited to just the product_info modules.
https://github.com/CE-PhoenixCart/Phoen ... 040d620f35
https://github.com/CE-PhoenixCart/Phoen ... a7072d7a4e
https://github.com/CE-PhoenixCart/Phoen ... 5064251df6
And/or uninstall all the product_info layout modules and then reinstall them with the modules page limited to just the product_info modules.
-
radhavallabh
- Senior Contributor
- Posts: 466
- Joined: Tue Oct 27, 2020 4:09 am
- Phoenix Version: 1.1.0.6
- Has thanked: 29 times
- Been thanked: 3 times
Re: Index .php error
Hi I made all changes;ecartz wrote: ↑Sat May 13, 2023 2:47 pm Try applying
https://github.com/CE-PhoenixCart/Phoen ... 040d620f35
https://github.com/CE-PhoenixCart/Phoen ... a7072d7a4e
https://github.com/CE-PhoenixCart/Phoen ... 5064251df6
And/or uninstall all the product_info layout modules and then reinstall them with the modules page limited to just the product_info modules.
Still more error persists....
Uninstalled all product-info layout modules,
I try installing the content -product info -gallery module it is not showing the edit or remove buttons; Also it does not display anything on catalog side now.
Then After i uninstall pi-gallery on re-install
---it is not showing the edit or remove buttons,
---even that has stopped displaying on the catalog,
---I also get a new below error on admin side-
Undefined index: page in
/xx/xx/admin/includes/modules/cfg_modules/cfgm_layout.php
Regds./
radhavallabh
-
14Steve14
- Senior Contributor
- Posts: 924
- Joined: Fri Oct 25, 2019 7:01 pm
- Phoenix Version: v1.0.9.1
- Has thanked: 17 times
- Been thanked: 103 times
Re: Index .php error
I had something similar happen to me when I uploaded and tried to install an older module from an earlier version by mistake. In the end I had uninstall all the PI modules, and then check in the database configuration table for a configuation key called MODULE_CONTENT_PI_INSTALLED and make sure that there was nothing installed. If there was any entries there then delete them but leave the table entry there.
Also in the modules - content area in admin make sure you have uninstalled the 'π Modular Index' module as that caused me problems.
Then I overwrote all the product info PI modules from a known good copy and only uploaded the ones supplied from core. I uploaded them one at a time making sure that they all worked as they should. Once I had all of those working properly I adjusted the page layout to how I wanted it. I then started uploading all the extra ones I was using until I found the one that was causing the trouble. An older version of something that needed a small update so it would work.
It took a long time to sort but starting from the beginning with good known code worked.
Also in the modules - content area in admin make sure you have uninstalled the 'π Modular Index' module as that caused me problems.
Then I overwrote all the product info PI modules from a known good copy and only uploaded the ones supplied from core. I uploaded them one at a time making sure that they all worked as they should. Once I had all of those working properly I adjusted the page layout to how I wanted it. I then started uploading all the extra ones I was using until I found the one that was causing the trouble. An older version of something that needed a small update so it would work.
It took a long time to sort but starting from the beginning with good known code worked.
-
radhavallabh
- Senior Contributor
- Posts: 466
- Joined: Tue Oct 27, 2020 4:09 am
- Phoenix Version: 1.1.0.6
- Has thanked: 29 times
- Been thanked: 3 times
Re: Index .php error
Hi;
Thanx for the tip dear;
Meanwhile I did this for now-
I reverted all changes made related to 1.0.8.21 as per thread.
Uninstalled 'π Modular Index'
Reinstalled PI modules for product info.
And works normally now.
Have recreated my index layout module as content index modules and is working...
Just will not be able to use the layout format on index page.
Will wait until we can get this issue fixed by the help of dear @ecartz ....
Thank you again
Very Warm Regds./
radhavallabh
Thanx for the tip dear;
Meanwhile I did this for now-
I reverted all changes made related to 1.0.8.21 as per thread.
Uninstalled 'π Modular Index'
Reinstalled PI modules for product info.
And works normally now.
Have recreated my index layout module as content index modules and is working...
Just will not be able to use the layout format on index page.
Will wait until we can get this issue fixed by the help of dear @ecartz ....
Thank you again
Very Warm Regds./
radhavallabh