Thankyou, I tried that cs-cart suggestion of restoring storefront tabels from a working store (it was Nov 22, my next oldest back-up Mar 2024 was already corrupted). This resulted even more (probably unrelated problems) because that back-up is so different to my current state.
Below I detail what throws errors from a functioning backup (all be it from broken store) to can’t get back into the store …
If anyone wants to give me a quote on what they can do to fix (or altenatively get me as close as possible to my current state) please message me (and if isn’t a fix but restoration of data please detail what gaps I will have to fill). My store is fully current MVE ultimate 18.2 with Unitheme 2 and cart-power shipping and payments restrictions - that is used a lot - about 1500 products, only a few vendors and I am happy to sacrifice other storefronts (except my main 1) www.thefarmerslot.com.au
Backups
A. New install of 18.2 + Unitheme2 with 3 storefronts created (No categories, Products etc)
C. Live developed store that I am trying to get working
**The Following error occurs with restore from back-up A – It is the only error I was able to trigger**
Create a new storefront but turning storefront of before hitting create button (i.e. saving)
[01-Aug-2024 00:59:03 America/Los_Angeles] Error: Attempt to assign property "status" on null in /home/thefarmerslotcom/public_html/dev/app/controllers/backend/storefronts.php:192
Stack trace:
#0 /home/thefarmerslotcom/public_html/dev/app/functions/fn.control.php(727): include()
#1 /home/thefarmerslotcom/public_html/dev/app/functions/fn.control.php(458): fn_run_controller('/home/thefarmer...', 'storefronts', 'update_status', '', '')
#2 /home/thefarmerslotcom/public_html/dev/xxxadmin.php(21): fn_dispatch()
#3 {main}
**The Following errors Occurs with Restore From Backup C**
saving storefront (settings/storefronts/$storefront)
PHP Warning: Undefined array key "name" in /home/thefarmerslotcom/public_html/dev/app/controllers/backend/storefronts.php on line 391
Note:
After storefront saved this error no longer presents.
At this stage able to change themes.
Turning off storefront
PHP Warning: Undefined array key "name" in /home/thefarmerslotcom/public_html/dev/app/functions/fn.control.php(722) : eval()'d code on line 391
Create a new storefront and turn status to off prior to saving (create button)
Error: Attempt to assign property "status" on null in /home/thefarmerslotcom/public_html/dev/app/controllers/backend/storefronts.php:192
Stack trace:
#0 /home/thefarmerslotcom/public_html/dev/app/functions/fn.control.php(727): include()
#1 /home/thefarmerslotcom/public_html/dev/app/functions/fn.control.php(458): fn_run_controller('/home/thefarmer...', 'storefronts', 'update_status', '', '')
#2 /home/thefarmerslotcom/public_html/dev/XXXadmin.php(21): fn_dispatch()
#3 {main}
Switch theme from responsive to alexbranding theme (error occurs on save overwrite settings)
Note: this triggers irreversible errors e.g. after this can no longer renter website/themes
[01-Aug-2024 11:29:16 Australia/Adelaide] TypeError: Cannot access offset of type string on string in /home/thefarmerslotcom/public_html/dev/var/cache/templates/backend/7fec98f9ae6f73e93f1dbc234941b0a17908f64c_2.tygh.presets.tpl.php:84
Stack trace:
#0 /home/thefarmerslotcom/public_html/dev/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_66aaebf452ed49_33208643(Object(Smarty_Internal_Template))
#1 /home/thefarmerslotcom/public_html/dev/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode(Object(Smarty_Internal_Template))
#2 /home/thefarmerslotcom/public_html/dev/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(217): Smarty_Template_Compiled->render(Object(Smarty_Internal_Template))
#3 /home/thefarmerslotcom/public_html/dev/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(386): Smarty_Internal_Template->render()
#4 /home/thefarmerslotcom/public_html/dev/var/cache/templates/backend/2c77911329302a02f569c93c39cf0af88c45cf28_2.tygh.mainbox.tpl.php(236): Smarty_Internal_Template->_subTemplateRender('tygh:views/stor...', NULL, NULL, 0, 3600, Array, 0, false)
#5 /home/thefarmerslotcom/public_html/dev/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_66aaebf44bbbe7_16159626(Object(Smarty_Internal_Template))
#6 /home/thefarmerslotcom/public_html/dev/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode(Object(Smarty_Internal_Template))
#7 /home/thefarmerslotcom/public_html/dev/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(217): Smarty_Template_Compiled->render(Object(Smarty_Internal_Template))
#8 /home/thefarmerslotcom/public_html/dev/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(386): Smarty_Internal_Template->render()
#9 /home/thefarmerslotcom/public_html/dev/var/cache/templates/backend/4426b8acf7ca7a47a069b4557ace3a67f274bf2f_2.tygh.manage.tpl.php(766): Smarty_Internal_Template->_subTemplateRender('tygh:common/mai...', NULL, NULL, 0, 3600, Array, 0, false)
#10 /home/thefarmerslotcom/public_html/dev/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_66aaebf422e128_19455728(Object(Smarty_Internal_Template))
#11 /home/thefarmerslotcom/public_html/dev/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode(Object(Smarty_Internal_Template))
#12 /home/thefarmerslotcom/public_html/dev/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(217): Smarty_Template_Compiled->render(Object(Smarty_Internal_Template))
#13 /home/thefarmerslotcom/public_html/dev/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(386): Smarty_Internal_Template->render()
#14 /home/thefarmerslotcom/public_html/dev/var/cache/templates/backend/09e113e3e5fb138f855087bdd7890d9ac88967dc_2.tygh.index.tpl.php(149): Smarty_Internal_Template->_subTemplateRender('views/themes/ma...', NULL, NULL, 0, 3600, Array, 0, true)
#15 /home/thefarmerslotcom/public_html/dev/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_66aaebf3ae03f3_69956931(Object(Smarty_Internal_Template))
#16 /home/thefarmerslotcom/public_html/dev/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode(Object(Smarty_Internal_Template))
#17 /home/thefarmerslotcom/public_html/dev/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(217): Smarty_Template_Compiled->render(Object(Smarty_Internal_Template))
#18 /home/thefarmerslotcom/public_html/dev/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(238): Smarty_Internal_Template->render(false, 0)
#19 /home/thefarmerslotcom/public_html/dev/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(116): Smarty_Internal_TemplateBase->_execute(Object(Smarty_Internal_Template), NULL, NULL, NULL, 0)
#20 /home/thefarmerslotcom/public_html/dev/app/Tygh/SmartyEngine/Core.php(81): Smarty_Internal_TemplateBase->fetch('index.tpl', NULL, NULL, NULL, false, true, false)
#21 /home/thefarmerslotcom/public_html/dev/app/functions/fn.control.php(637): Tygh\SmartyEngine\Core->fetch('index.tpl')
#22 /home/thefarmerslotcom/public_html/dev/XXXadmin.php(21): fn_dispatch()
#23 {main}
Create New Storefront and switch from existing theme to Unitheme Fiolent –= “Store Unavailable” error screen
When I scroll back using the browser back the following dispatches are called. This gives acess back to store so I can restore from backup. Clicking on menu/themes will produce Store Unavailable error screen so I restore from backup.
https://thefarmerslot.com.au/dev/XXXadmin.php?dispatch=themes.manage
https://thefarmerslot.com.au/dev/XXXadmin.php?dispatch=themes.manage&show_conflicts=Y&theme_name=abt__unitheme2&style=Fiolent
https://thefarmerslot.com.au/dev/XXXadmin.php?dispatch=themes.manage&show_conflicts=Y&theme_name=abt__unitheme2&style=Fiolent&s_storefront=31
https://thefarmerslot.com.au/dev/XXXadmin.php?dispatch=themes.manage
[01-Aug-2024 15:43:34 Australia/Adelaide] TypeError: Cannot access offset of type string on string in /home/thefarmerslotcom/public_html/dev/var/cache/templates/backend/7fec98f9ae6f73e93f1dbc234941b0a17908f64c_2.tygh.presets.tpl.php:84
Stack trace:
#0 /home/thefarmerslotcom/public_html/dev/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_66ab09c5e788f7_10404424(Object(Smarty_Internal_Template))
#1 /home/thefarmerslotcom/public_html/dev/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode(Object(Smarty_Internal_Template))
#2 /home/thefarmerslotcom/public_html/dev/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(217): Smarty_Template_Compiled->render(Object(Smarty_Internal_Template))
#3 /home/thefarmerslotcom/public_html/dev/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(386): Smarty_Internal_Template->render()
#4 /home/thefarmerslotcom/public_html/dev/var/cache/templates/backend/2c77911329302a02f569c93c39cf0af88c45cf28_2.tygh.mainbox.tpl.php(236): Smarty_Internal_Template->_subTemplateRender('tygh:views/stor...', NULL, NULL, 0, 3600, Array, 0, false)
#5 /home/thefarmerslotcom/public_html/dev/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_66ab09c5dff755_04763111(Object(Smarty_Internal_Template))
#6 /home/thefarmerslotcom/public_html/dev/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode(Object(Smarty_Internal_Template))
#7 /home/thefarmerslotcom/public_html/dev/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(217): Smarty_Template_Compiled->render(Object(Smarty_Internal_Template))
#8 /home/thefarmerslotcom/public_html/dev/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(386): Smarty_Internal_Template->render()
#9 /home/thefarmerslotcom/public_html/dev/var/cache/templates/backend/4426b8acf7ca7a47a069b4557ace3a67f274bf2f_2.tygh.manage.tpl.php(766): Smarty_Internal_Template->_subTemplateRender('tygh:common/mai...', NULL, NULL, 0, 3600, Array, 0, false)
#10 /home/thefarmerslotcom/public_html/dev/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_66ab09c5b80413_99268658(Object(Smarty_Internal_Template))
#11 /home/thefarmerslotcom/public_html/dev/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode(Object(Smarty_Internal_Template))
#12 /home/thefarmerslotcom/public_html/dev/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(217): Smarty_Template_Compiled->render(Object(Smarty_Internal_Template))
#13 /home/thefarmerslotcom/public_html/dev/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(386): Smarty_Internal_Template->render()
#14 /home/thefarmerslotcom/public_html/dev/var/cache/templates/backend/09e113e3e5fb138f855087bdd7890d9ac88967dc_2.tygh.index.tpl.php(149): Smarty_Internal_Template->_subTemplateRender('views/themes/ma...', NULL, NULL, 0, 3600, Array, 0, true)
#15 /home/thefarmerslotcom/public_html/dev/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_66ab09c772ee08_01215667(Object(Smarty_Internal_Template))
#16 /home/thefarmerslotcom/public_html/dev/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode(Object(Smarty_Internal_Template))
#17 /home/thefarmerslotcom/public_html/dev/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(217): Smarty_Template_Compiled->render(Object(Smarty_Internal_Template))
#18 /home/thefarmerslotcom/public_html/dev/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(238): Smarty_Internal_Template->render(false, 0)
#19 /home/thefarmerslotcom/public_html/dev/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(116): Smarty_Internal_TemplateBase->_execute(Object(Smarty_Internal_Template), NULL, NULL, NULL, 0)
#20 /home/thefarmerslotcom/public_html/dev/app/Tygh/SmartyEngine/Core.php(81): Smarty_Internal_TemplateBase->fetch('index.tpl', NULL, NULL, NULL, false, true, false)
#21 /home/thefarmerslotcom/public_html/dev/app/functions/fn.control.php(637): Tygh\SmartyEngine\Core->fetch('index.tpl')
#22 /home/thefarmerslotcom/public_html/dev/XXXadmin.php(21): fn_dispatch()
#23 {main}