ElkArte Community

Elk Development => Bug Reports => Topic started by: scripple on July 31, 2016, 02:33:28 pm

Title: Undefined errors uninstalling the 1.0.8 patch
Post by: scripple on July 31, 2016, 02:33:28 pm
Looking at the uninstall portion, attempting to uninstall the 1.0.8 patch does put 6 errors into the error log.

Type of error: Undefined
Undefined index: failed
URL: .../index.php?action=admin;area=packages;sa=uninstall;package=ElkArte_v1-0-8_patch.zip;pid=52
File: .../sources/admin/Packages.controller.php
Line: 470
      
Type of error: Undefined
Undefined index: position
URL: .../index.php?action=admin;area=packages;sa=uninstall;package=ElkArte_v1-0-8_patch.zip;pid=52
File: /sources/admin/Packages.controller.php
Line: 466
      
Type of error: Undefined
URL: .../index.php?action=admin;area=packages;sa=uninstall;package=ElkArte_v1-0-8_patch.zip;pid=52
File: .../sources/admin/Packages.controller.php
Line: 465

Type of error: Undefined
Undefined index: failed
URL: .../index.php?action=admin;area=packages;sa=uninstall;package=ElkArte_v1-0-8_patch.zip;pid=52
File: .../sources/admin/Packages.controller.php
Line: 470
      
Type of error: Undefined
URL: .../index.php?action=admin;area=packages;sa=uninstall;package=ElkArte_v1-0-8_patch.zip;pid=52
File: .../sources/admin/Packages.controller.php
Line: 466
      
Type of error: Undefined
Undefined index: failed
URL: .../index.php?action=admin;area=packages;sa=uninstall;package=ElkArte_v1-0-8_patch.zip;pid=52
File: .../sources/admin/Packages.controller.php
Line: 465
Title: Re: Undefined errors uninstalling the 1.0.8 patch
Post by: emanuele on July 31, 2016, 02:55:49 pm
I feel this is due to the fact I used a "regex" to replace the version in a couple of files (namely Subs.php and Cache.subs.php, incidentally the ones that give a failure notice at uninstall exactly because I used the regex, because the regex itself cannot be reverted).

To check indeed.