The generated theme crashed my wordpress ite

Hi,

After I downloaded the generated theme, I upload to my wordpress site and activate. As soon as I did it, my wordpress site shows the following error:
“there is a critical error on this website”

I also attached my error_log here, please can you tell me what was going wrong:

[07-Feb-2023 00:30:13 UTC] WordPress database error Table ‘i8918152_wp3.wp_aioseo_cache’ doesn’t exist for query DELETE FROM wp_aioseo_cache
WHERE 1 = 1 AND
( expiration IS NOT NULL AND expiration <= ‘2023-02-07 00:30:13’ )
/* 1 = 1 */ made by do_action_ref_array(‘action_scheduler_run_queue’), WP_Hook->do_action, WP_Hook->apply_filters, ActionScheduler_QueueRunner->run, ActionScheduler_QueueRunner->do_batch, ActionScheduler_Abstract_QueueRunner->process_action, ActionScheduler_Action->execute, do_action_ref_array(‘aioseo_cache_prune’), WP_Hook->do_action, WP_Hook->apply_filters, AIOSEO\Plugin\Common\Utils\CachePrune->prune, AIOSEO\Plugin\Common\Utils\Database->run
[11-Oct-2023 19:31:43 UTC] PHP Warning: preg_replace(): Compilation failed: regular expression is too large at offset 75263 in /home/mpnechy6y02f/public_html/coinsured.io/landing/wp-content/plugins/js_composer/include/classes/editors/class-vc-frontend-editor.php on line 943
[18-Nov-2023 21:32:14 UTC] PHP Notice: Constant WP_DEBUG already defined in /home/mpnechy6y02f/public_html/coinsured.io/landing/wp-content/themes/YotakoTheme/functions.php on line 8
[18-Nov-2023 21:32:14 UTC] PHP Notice: Constant WP_DEBUG_DISPLAY already defined in /home/mpnechy6y02f/public_html/coinsured.io/landing/wp-content/themes/YotakoTheme/functions.php on line 9
[18-Nov-2023 21:32:14 UTC] PHP Fatal error: Uncaught Error: Class ‘ZipArchive’ not found in /home/mpnechy6y02f/public_html/coinsured.io/landing/wp-content/themes/YotakoTheme/functions.php:173
Stack trace:
#0 /home/mpnechy6y02f/public_html/coinsured.io/landing/wp-includes/class-wp-hook.php(308): plugin_installation(‘’)
#1 /home/mpnechy6y02f/public_html/coinsured.io/landing/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array)
#2 /home/mpnechy6y02f/public_html/coinsured.io/landing/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#3 /home/mpnechy6y02f/public_html/coinsured.io/landing/wp-settings.php(595): do_action(‘after_setup_the…’)
#4 /home/mpnechy6y02f/public_html/coinsured.io/landing/wp-config.php(105): require_once(‘/home/mpnechy6y…’)
#5 /home/mpnechy6y02f/public_html/coinsured.io/landing/wp-load.php(50): require_once(‘/home/mpnechy6y…’)
#6 /home/mpnechy6y02f/public_html/coinsured.io/landing/wp-blog-header.php(13): require_once(‘/home/mpnechy6y…’)
#7 /home/mpnechy6y02f/public_html/coinsured.io/landing/index.php(17): r in /home/mpnechy6y02f/public_html/coinsured.io/landing/wp-content/themes/YotakoTheme/functions.php on line 173
[18-Nov-2023 21:32:25 UTC] PHP Notice: Constant WP_DEBUG already defined in /home/mpnechy6y02f/public_html/coinsured.io/landing/wp-content/themes/YotakoTheme/functions.php on line 8
[18-Nov-2023 21:32:25 UTC] PHP Notice: Constant WP_DEBUG_DISPLAY already defined in /home/mpnechy6y02f/public_html/coinsured.io/landing/wp-content/themes/YotakoTheme/functions.php on line 9
[18-Nov-2023 21:32:25 UTC] PHP Fatal error: Uncaught Error: Class ‘ZipArchive’ not found in /home/mpnechy6y02f/public_html/coinsured.io/landing/wp-content/themes/YotakoTheme/functions.php:173
Stack trace:
#0 /home/mpnechy6y02f/public_html/coinsured.io/landing/wp-includes/class-wp-hook.php(308): plugin_installation(‘’)
#1 /home/mpnechy6y02f/public_html/coinsured.io/landing/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array)
#2 /home/mpnechy6y02f/public_html/coinsured.io/landing/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#3 /home/mpnechy6y02f/public_html/coinsured.io/landing/wp-settings.php(595): do_action(‘after_setup_the…’)
#4 /home/mpnechy6y02f/public_html/coinsured.io/landing/wp-config.php(105): require_once(‘/home/mpnechy6y…’)
#5 /home/mpnechy6y02f/public_html/coinsured.io/landing/wp-load.php(50): require_once(‘/home/mpnechy6y…’)
#6 /home/mpnechy6y02f/public_html/coinsured.io/landing/wp-blog-header.php(13): require_once(‘/home/mpnechy6y…’)
#7 /home/mpnechy6y02f/public_html/coinsured.io/landing/index.php(17): r in /home/mpnechy6y02f/public_html/coinsured.io/landing/wp-content/themes/YotakoTheme/functions.php on line 173
[18-Nov-2023 21:36:41 UTC] PHP Notice: Constant WP_DEBUG already defined in /home/mpnechy6y02f/public_html/coinsured.io/landing/wp-content/themes/YotakoTheme/functions.php on line 8
[18-Nov-2023 21:36:41 UTC] PHP Notice: Constant WP_DEBUG_DISPLAY already defined in /home/mpnechy6y02f/public_html/coinsured.io/landing/wp-content/themes/YotakoTheme/functions.php on line 9
[18-Nov-2023 21:36:41 UTC] PHP Fatal error: Uncaught Error: Class ‘ZipArchive’ not found in /home/mpnechy6y02f/public_html/coinsured.io/landing/wp-content/themes/YotakoTheme/functions.php:173
Stack trace:
#0 /home/mpnechy6y02f/public_html/coinsured.io/landing/wp-includes/class-wp-hook.php(308): plugin_installation(‘’)
#1 /home/mpnechy6y02f/public_html/coinsured.io/landing/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array)
#2 /home/mpnechy6y02f/public_html/coinsured.io/landing/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#3 /home/mpnechy6y02f/public_html/coinsured.io/landing/wp-settings.php(595): do_action(‘after_setup_the…’)
#4 /home/mpnechy6y02f/public_html/coinsured.io/landing/wp-config.php(105): require_once(‘/home/mpnechy6y…’)
#5 /home/mpnechy6y02f/public_html/coinsured.io/landing/wp-load.php(50): require_once(‘/home/mpnechy6y…’)
#6 /home/mpnechy6y02f/public_html/coinsured.io/landing/wp-cron.php(46): require_once(‘/home/mpnechy6y…’)
#7 {main}
thrown in /home/mpnechy6y02f/public_html/coinsured.io/landing/wp-content/themes/YotakoTheme/functions.php on line 173
[18-Nov-2023 21:36:42 UTC] PHP Notice: Constant WP_DEBUG already defined in /home/mpnechy6y02f/public_html/coinsured.io/landing/wp-content/themes/YotakoTheme/functions.php on line 8
[18-Nov-2023 21:36:42 UTC] PHP Notice: Constant WP_DEBUG_DISPLAY already defined in /home/mpnechy6y02f/public_html/coinsured.io/landing/wp-content/themes/YotakoTheme/functions.php on line 9
[18-Nov-2023 21:36:42 UTC] PHP Fatal error: Uncaught Error: Class ‘ZipArchive’ not found in /home/mpnechy6y02f/public_html/coinsured.io/landing/wp-content/themes/YotakoTheme/functions.php:173
Stack trace:
#0 /home/mpnechy6y02f/public_html/coinsured.io/landing/wp-includes/class-wp-hook.php(308): plugin_installation(‘’)
#1 /home/mpnechy6y02f/public_html/coinsured.io/landing/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array)
#2 /home/mpnechy6y02f/public_html/coinsured.io/landing/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#3 /home/mpnechy6y02f/public_html/coinsured.io/landing/wp-settings.php(595): do_action(‘after_setup_the…’)
#4 /home/mpnechy6y02f/public_html/coinsured.io/landing/wp-config.php(105): require_once(‘/home/mpnechy6y…’)
#5 /home/mpnechy6y02f/public_html/coinsured.io/landing/deleteme.ssodfc66ee0beff4bdaa862f65835081ad1.php(16): include_once(‘/home/mpnechy6y…’)
#6 {main}
thrown in /home/mpnechy6y02f/public_html/coinsured.io/landing/wp-content/themes/YotakoTheme/functions.php on line 173
[18-Nov-2023 21:44:17 UTC] PHP Notice: Constant WP_DEBUG already defined in /home/mpnechy6y02f/public_html/coinsured.io/landing/wp-content/themes/YotakoTheme/functions.php on line 8
[18-Nov-2023 21:44:17 UTC] PHP Notice: Constant WP_DEBUG_DISPLAY already defined in /home/mpnechy6y02f/public_html/coinsured.io/landing/wp-content/themes/YotakoTheme/functions.php on line 9
[18-Nov-2023 21:44:17 UTC] PHP Fatal error: Uncaught Error: Class ‘ZipArchive’ not found in /home/mpnechy6y02f/public_html/coinsured.io/landing/wp-content/themes/YotakoTheme/functions.php:173
Stack trace:
#0 /home/mpnechy6y02f/public_html/coinsured.io/landing/wp-includes/class-wp-hook.php(308): plugin_installation(‘’)
#1 /home/mpnechy6y02f/public_html/coinsured.io/landing/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array)
#2 /home/mpnechy6y02f/public_html/coinsured.io/landing/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#3 /home/mpnechy6y02f/public_html/coinsured.io/landing/wp-settings.php(595): do_action(‘after_setup_the…’)
#4 /home/mpnechy6y02f/public_html/coinsured.io/landing/wp-config.php(105): require_once(‘/home/mpnechy6y…’)
#5 /home/mpnechy6y02f/public_html/coinsured.io/landing/wp-load.php(50): require_once(‘/home/mpnechy6y…’)
#6 /home/mpnechy6y02f/public_html/coinsured.io/landing/wp-blog-header.php(13): require_once(‘/home/mpnechy6y…’)
#7 /home/mpnechy6y02f/public_html/coinsured.io/landing/index.php(17): r in /home/mpnechy6y02f/public_html/coinsured.io/landing/wp-content/themes/YotakoTheme/functions.php on line 173
[18-Nov-2023 23:56:17 UTC] Cron reschedule event error for hook: action_scheduler_run_queue, Error code: invalid_schedule, Error message: Event schedule does not exist., Data: {“schedule”:“every_minute”,“args”:[“WP Cron”],“interval”:60}
[18-Nov-2023 23:57:17 UTC] PHP Notice: Constant WP_DEBUG already defined in /home/mpnechy6y02f/public_html/coinsured.io/landing/wp-content/themes/YotakoTheme/functions.php on line 8
[18-Nov-2023 23:57:17 UTC] PHP Notice: Constant WP_DEBUG_DISPLAY already defined in /home/mpnechy6y02f/public_html/coinsured.io/landing/wp-content/themes/YotakoTheme/functions.php on line 9
[18-Nov-2023 23:57:17 UTC] PHP Fatal error: Uncaught Error: Class ‘ZipArchive’ not found in /home/mpnechy6y02f/public_html/coinsured.io/landing/wp-content/themes/YotakoTheme/functions.php:173
Stack trace:
#0 /home/mpnechy6y02f/public_html/coinsured.io/landing/wp-includes/class-wp-hook.php(308): plugin_installation(‘’)
#1 /home/mpnechy6y02f/public_html/coinsured.io/landing/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array)
#2 /home/mpnechy6y02f/public_html/coinsured.io/landing/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#3 /home/mpnechy6y02f/public_html/coinsured.io/landing/wp-settings.php(595): do_action(‘after_setup_the…’)
#4 /home/mpnechy6y02f/public_html/coinsured.io/landing/wp-config.php(105): require_once(‘/home/mpnechy6y…’)
#5 /home/mpnechy6y02f/public_html/coinsured.io/landing/wp-load.php(50): require_once(‘/home/mpnechy6y…’)
#6 /home/mpnechy6y02f/public_html/coinsured.io/landing/wp-blog-header.php(13): require_once(‘/home/mpnechy6y…’)
#7 /home/mpnechy6y02f/public_html/coinsured.io/landing/index.php(17): r in /home/mpnechy6y02f/public_html/coinsured.io/landing/wp-content/themes/YotakoTheme/functions.php on line 173

Hello,

I’ve noticed a couple of issues in your logs that might be causing trouble.

  1. Fatal error: Uncaught Error: Class ‘ZipArchive’ not found:
    It appears that the theme is relying on the ZipArchive class to install the Yotako plugin on your server for customer blocks and some logic. However, it seems that PHP zip is disabled on your hosting server.

    If you have access to the PHP code, consider running the phpinfo() method to check if zip is enabled. You should see something similar to the image below:

If it’s disabled or missing, you’ll need to enable it.

How to enable PHP zip from cPanel:
https://sebhastian.com/enable-php-zip/

  1. Cron reschedule event error for hook: action_scheduler_run_queue:
    The second error appears to be unrelated to our theme as we don’t run any Cron on your system. The error suggests a problem with event scheduling. Please investigate this separately.

I hope resolving the PHP zip configuration resolves your issue. Feel free to reach out if you encounter any further difficulties.

Cheers,
Yotako Engineering Team

Thanks @Alimot for helping on this one, even if the problem was not one our side it is very nice to help our customers anyways :slight_smile: and I appreciate that!

Hi Alimot,

Sorry for this late response but enabling the PhP zip solved my issue. I can now activate the converted theme.

Thanks for your help.

Hey @token_niffer,

Just install it as a normal theme, then activate it under the Appearance menu where all the WordPress themes are :slight_smile:

Let me know if you need anything else!
Melanie