This topic has 9 replies, 3 voices, and was last updated 1 years, 5 months ago ago by Tony Rodriguez
After hours of troubleshooting and debug, this is the error that is crashing my wp-admin page, please help.
Warning: Undefined array key “9.1.8” in /home/vsonacci_mycolift/mycolift.com/wp-content/themes/xstore/framework/patcher.php on line 105
Fatal error: Uncaught TypeError: array_keys(): Argument #1 ($array) must be of type array, null given in /home/vsonacci_mycolift/mycolift.com/wp-content/themes/xstore/framework/patcher.php:105 Stack trace: #0 /home/vsonacci_mycolift/mycolift.com/wp-content/themes/xstore/framework/patcher.php(105): array_keys(NULL) #1 /home/vsonacci_mycolift/mycolift.com/wp-content/themes/xstore/framework/panel/panel.php(580): Etheme_Patcher->get_available_patches(‘9.1.8’) #2 /home/vsonacci_mycolift/mycolift.com/wp-includes/class-wp-hook.php(308): EthemeAdmin->et_add_menu_page(”) #3 /home/vsonacci_mycolift/mycolift.com/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array) #4 /home/vsonacci_mycolift/mycolift.com/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #5 /home/vsonacci_mycolift/mycolift.com/wp-admin/includes/menu.php(155): do_action(‘admin_menu’, ”) #6 /home/vsonacci_mycolift/mycolift.com/wp-admin/menu.php(420): require_once(‘/home/vsonacci_…’) #7 /home/vsonacci_mycolift/mycolift.com/wp-admin/admin.php(158): require(‘/home/vsonacci_…’) #8 /home/vsonacci_mycolift/mycolift.com/wp-admin/themes.php(10): require_once(‘/home/vsonacci_…’) #9 {main} thrown in /home/vsonacci_mycolift/mycolift.com/wp-content/themes/xstore/framework/patcher.php on line 105
There has been a critical error on this website. Please check your site admin email inbox for instructions.
Hello, Vsonacci,
Thank you for getting in touch with us.
Please provide FTP access (FTP host, FTP username, FTP password, FTP port, FTP encryption).
Kind Regards,
8theme team
Rose,
I am not sure if I feel 100% safe sharing that information. Is there any alternative resolution we can try first? I am able to navigate my ftp files and can update/replace files and even change code if necessary. If it is something that is beyond my scope then I would consider sharing my ftp but that’s only if there is no other way.
Thank you and I will be looking forward to your response.
Hello, Vsonacci,
Please download patcher.php file – https://we.tl/t-ZG6ZYgCOKD and re-upload it into xstore/framework folder via FTP.
Kind Regards,
8theme team
Uploaded and fixed the issue, thank you. Could I please have more information on the issue? was it just an update issue or something else on my end? Also, for future reference, if I encounter a similar theme issue, how would I go about contacting support once my current support subscription expires?
Hello, Vsonacci,
Thank you for your response.
We store the patches in the cache for a week and since the update (within the week) this cache was automatically reset. At the same time, the data was taken again and the following situation occurred:
1/ The latest version is 9.1.9
2/ Someone is still using 9.1.8
3/ No patches were made for version 9.1.8
4/ The file takes the list of patches from the current version of the theme + above – accordingly, there was no value 9.1.8 in the array and there were no checks for this.
The new patcher.php file contains the fix, and this fix will be included in the next theme update.
You will be able to contact us via form on this page by email – https://themeforest.net/user/8theme
Kind Regards,
8theme team
Hello, Vsonacci,
Thank you for your response.
We store the patches in the cache for a week and since the update (within the week) this cache was automatically reset. At the same time, the data was taken again and the following situation occurred:
1/ The latest version is 9.1.9
2/ Someone is still using 9.1.8
3/ No patches were made for version 9.1.8
4/ The file takes the list of patches from the current version of the theme + above – accordingly, there was no value 9.1.8 in the array and there were no checks for this.
The new patcher.php file contains the fix, and this fix will be included in the next theme update.
You will be able to contact us via form on this page by email – https://themeforest.net/user/8theme
Kind Regards,
8theme team
thank you for the detailed information and link to the form. Much appreciated!
Hello, @vsonacci,
You’re welcome! We’re glad to hear that you found the information helpful, and we’re always here to assist you whenever you need it. If you have any further questions or require additional support, please don’t hesitate to reach out. Your satisfaction is our priority, and we’re committed to providing you with the best service possible. Thank you for your kind words and appreciation.
Have a great day!
Kind Regards,
8theme team
The issue related to '‘Theme error cashed my wordpress, unable to access anything’' has been successfully resolved, and the topic is now closed for further responses