EO\Plugin\Common\Meta\MetaData->getMetaData, AIOSEO\Plugin\Common\Models\Model->save, AIOSEO\Plugin\Common\Models\Model->filter, AIOSEO\Plugin\Common\Utils\Database->execute [30-Apr-2025 09:44:16 UTC] WordPress database error Unknown storage engine 'InnoDB' for query SHOW COLUMNS FROM `wp_aioseo_posts` made by require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/themes/destininformation/template-hompage.php'), get_header, locate_template, load_template, require_once('/themes/destininformation/header.php'), wp_title, apply_filters('wp_title'), WP_Hook->apply_filters, AIOSEO\Plugin\Common\Main\Head->getTitle, AIOSEO\Plugin\Common\Meta\Title->filterPageTitle, AIOSEO\Plugin\Common\Meta\Title->getTitle, AIOSEO\Plugin\Common\Meta\Title->getPostTitle, AIOSEO\Plugin\Common\Meta\MetaData->getMetaData, AIOSEO\Plugin\Common\Models\Model->save, AIOSEO\Plugin\Common\Models\Model->reset, AIOSEO\Plugin\Common\Models\Model->__construct, AIOSEO\Plugin\Common\Models\Model->getColumns, AIOSEO\Plugin\Common\Utils\Database->execute [30-Apr-2025 09:44:16 UTC] WordPress database error Unknown storage engine 'InnoDB' for query SELECT a.action_id FROM wp_actionscheduler_actions a WHERE 1=1 AND a.hook='aioseo_send_usage_data' AND a.args='[]' AND a.status IN ('in-progress') ORDER BY a.scheduled_date_gmt ASC LIMIT 0, 1 made by require('wp-blog-header.php'), require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), do_action('init'), WP_Hook->do_action, WP_Hook->apply_filters, AIOSEO\Plugin\Common\Admin\Usage->init, AIOSEO\Plugin\Common\Utils\ActionScheduler->unschedule, as_next_scheduled_action, ActionScheduler_Store->query_action, ActionScheduler_DBStore->query_actions [30-Apr-2025 09:44:16 UTC] WordPress database error Unknown storage engine 'InnoDB' for query SELECT a.action_id FROM wp_actionscheduler_actions a WHERE 1=1 AND a.hook='aioseo_send_usage_data' AND a.args='[]' AND a.status IN ('pending') ORDER BY a.scheduled_date_gmt ASC LIMIT 0, 1 made by require('wp-blog-header.php'), require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), do_action('init'), WP_Hook->do_action, WP_Hook->apply_filters, AIOSEO\Plugin\Common\Admin\Usage->init, AIOSEO\Plugin\Common\Utils\ActionScheduler->unschedule, as_next_scheduled_action, ActionScheduler_Store->query_action, ActionScheduler_DBStore->query_actions [30-Apr-2025 09:44:16 UTC] WordPress database error Unknown storage engine 'InnoDB' for query SHOW COLUMNS FROM `wp_aioseo_posts` made by require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/themes/destininformation/template-hompage.php'), get_header, locate_template, load_template, require_once('/themes/destininformation/header.php'), wp_title, apply_filters('wp_title'), WP_Hook->apply_filters, AIOSEO\Plugin\Common\Main\Head->getTitle, AIOSEO\Plugin\Common\Meta\Title->filterPageTitle, AIOSEO\Plugin\Common\Meta\Title->getTitle, AIOSEO\Plugin\Common\Meta\Title->getPostTitle, AIOSEO\Plugin\Common\Meta\MetaData->getMetaData, AIOSEO\Plugin\Common\Models\Post::getPost, AIOSEO\Plugin\Common\Models\Model->__construct, AIOSEO\Plugin\Common\Models\Model->getColumns, AIOSEO\Plugin\Common\Utils\Database->execute [30-Apr-2025 09:44:16 UTC] WordPress database error Unknown storage engine 'InnoDB' for query SELECT * FROM wp_aioseo_posts WHERE 1 = 1 AND `post_id` = 2 /* 1 = 1 */ made by require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/themes/destininformation/template-hompage.php'), get_header, locate_template, load_template, require_once('/themes/destininformation/header.php'), wp_title, apply_filters('wp_title'), WP_Hook->apply_filters, AIOSEO\Plugin\Common\Main\Head->getTitle, AIOSEO\Plugin\Common\Meta\Title->filterPageTitle, AIOSEO\Plugin\Common\Meta\Title->getTitle, AIOSEO\Plugin\Common\Meta\Title->getPostTitle, AIOSEO\Plugin\Common\Meta\MetaData->getMetaData, AIOSEO\Plugin\Common\Models\Post::getPost, AIOSEO\Plugin\Common\Utils\Database->run [30-Apr-2025 09:44:16 UTC] WordPress dte type, like 'plugins' or 'themes' and site-url */ $text = sprintf( esc_html__( 'One or more %1$s on your WordPress site at %2$s have been updated by Companion Auto Update. No further action is needed on your part. For more info on what is new visit your dashboard and check the changelog.', 'companion-auto-update' ), $type, get_site_url() ); $text .= $break; $text .= $break; /* translators: update type, like 'plugins' or 'themes' */ $text .= sprintf( esc_html__( 'The following %1$s have been updated:', 'companion-auto-update' ), $type ); $text .= $break; $text .= $updatedList; $text .= $break; $text .= esc_html__( "(You'll also receive this email if you manually updated a plugin or theme)", "companion-auto-update" ); return $text; } // Checks if plugins are out of date function cau_list_outdated_software() { // Check if cau_get_db_value() function exists. if ( !function_exists( 'cau_get_db_value' ) ) require_once( plugin_dir_path( __FILE__ ) . 'cau_function.php' ); // Set up mail $subject = '['.get_bloginfo( 'name' ).'] ' . esc_html__( 'You have outdated plugins on your site.', 'companion-auto-update' ); $type = esc_html__( 'plugin', 'companion-auto-update' ); $type_plural = esc_html__( 'plugins', 'companion-auto-update' ); $message = cau_outdated_message( $type, $type_plural, cau_list_outdated() ); // Send to all addresses foreach ( cau_set_email() as $key => $value ) { foreach ( $value as $k => $v ) { wp_mail( $v, $subject, $message ); } break; } } // Checks if theme updates are available function cau_list_theme_updates() { global $wpdb; $table_name = $wpdb->prefix . "auto_updates"; $configs = $wpdb->get_results( "SELECT * FROM $table_name WHERE name = 'themes'"); foreach ( $configs as $config ) { if( $config->onoroff != 'on' ) { // Check for required files if ( !function_exists( 'get_theme_updates' ) ) { require_once ABSPATH . 'wp-admin/includes/update.php'; } // Begin $themes = get_theme_updates(); $list = array(); if ( !empty( $themes ) ) { foreach ( $themes as $stylesheet => $theme ) { array_push( $list, $theme->get( 'Name' ) ); } $subject = '[' . get_bloginfo( 'name' ) . '] ' . esc_html__( 'Theme update available.', 'companion-auto-update' ); $type = esc_html__('theme', 'companion-auto-update'); $type_plural = esc_html__('themes', 'companion-auto-update'); $message = cau_pending_message( $type, $type_plural, $list ); foreach ( cau_set_email() as $key => $value) { foreach ($value as $k => $v) { wp_mail( $v, $subject, $message ); } break; } } } } } // Checks if plugin updates are available function cau_list_plugin_updates() { global $wpdb; $table_name = $wpdb->prefix . "auto_updates"; $configs = $wpdb->get_results( "SELECT * FROM $table_name WHERE name = 'plugins'"); foreach ( $configs as $config ) { if( $config->onoroff != 'on' ) { require_once ABSPATH . 'wp-admin/includes/plugin-install.php'; // Make sure get_plugin_updates() and get_plugins() are defined if ( !function_exists( 'get_plugin_updates' ) OR !function_exists( 'get_plugins' ) ) { require_once ABSPATH . 'wp-admin/includes/plugin.php'; require_once ABSPATH . 'wp-admin/includes/update.php'; } // Begin $plugins = get_plugin_updates(); if ( !empty( $plugins ) ) { $list = array(); foreach ( (array) $plugins as $plugin_file => $plugin_data ) { $plugin_data = (object) _get_plugin_data_markup_translate( $plugin_file, (array) $plugin_data, false, true ); $name = $plugin_data->Name; array_push( $list, $name ); } $subject = '[' . get_bloginfo( 'name' ) . '] ' . esc_html__( 'Plugin update available.', 'companion-auto-update' ); $type = esc_html__( 'plugin', 'companion-auto-update' ); $type_plural = esc_html__( 'plugins', 'companion-auto-update' ); $message = cau_pending_message( $type, $type_plural, $list ); foreach ( cau_set_email() as $key => $value) { foreach ($value as $k => $v) { wp_mail( $v, $subject, $message ); } break; } } } } } // Alerts when plugin has been updated function cau_plugin_updated() { // Check if cau_get_db_value() function exists. if ( !function_exists( 'cau_get_db_value' ) ) require_once( plugin_dir_path( __FILE__ ) . 'cau_function.php' ); // Create arrays $pluginNames = array(); $pluginDates = array(); $pluginVersion = array(); $pluginSlug = array(); $pluginTimes = array(); $themeNames = array(); $themeDates = array(); $themeTimes = array(); // Where to look for plugins $plugdir = plugin_dir_path( __DIR__ ); if ( !function_exists( 'get_plugins' ) ) require_once( ABSPATH . 'wp-admin/includes/plugin.php' ); // Check if get_plugins() function exists. $allPlugins = get_plugins(); // Where to look for themes $themedir = get_theme_root(); $allThemes = wp_get_themes(); // Mail schedule $schedule_mail = wp_get_schedule( 'cau_set_schedule_mail' ); // Loop trough all plugins foreach ( $allPlugins as $key => $value ) { // Get plugin data $fullPath = $plugdir.'/'.$key; $getFile = $path_parts = pathinfo( $fullPath ); $pluginData = get_plugin_data( $fullPath ); // Get the slug $explosion = explode( '/', $key ); $actualSlug = array_shift( $explosion ); // Get last update date $fileDate = date ( 'YmdHi', filemtime( $fullPath ) ); switch ( $schedule_mail ) { case 'hourly': $lastday = date( 'YmdHi', strtotime( '-1 hour', time() ) ); break; case 'twicedaily': $lastday = date( 'YmdHi', strtotime( '-12 hours', time() ) ); break; default: $lastday = date( 'YmdHi', strtotime( '-1 day', time() ) ); break; } $dateFormat = get_option( 'date_format' ); $timestamp = date_i18n( $dateFormat, filemtime( $fullPath ) ); $timestamp .= ' - '.date( 'H:i', filemtime( $fullPath ) ); if( $fileDate >= $lastday ) { // Get plugin name foreach ( $pluginData as $dataKey => $dataValue ) { if( $dataKey == 'Name') { array_push( $pluginNames , $dataValue ); } if( $dataKey == 'Version') { array_push( $pluginVersion , $dataValue ); } } array_push( $pluginDates, $fileDate ); array_push( $pluginSlug, $actualSlug ); array_push( $pluginTimes, $timestamp ); } } // Loop trough all themes foreach ( $allThemes as $key => $value ) { // Get theme data $fullPath = $themedir.'/'.$key; $getFile = $path_parts = pathinfo( $fullPath ); // Get last update date $dateFormat = get_option( 'date_format' ); $fileDate = date ( 'YmdHi', filemtime( $fullPath ) ); if( $schedule_mail == 'hourly' ) { $lastday = date( 'YmdHi', strtotime( '-1 hour', time() ) ); } elseif( $schedule_mail == 'twicedaily' ) { $lastday = date( 'YmdHi', strtotime( '-12 hours', time() ) ); } elseif( $schedule_mail == 'daily' ) { $lastday = date( 'YmdHi', strtotime( '-1 day', time() ) ); } $dateFormat = get_option( 'date_format' ); $timestamp = date_i18n( $dateFormat, filemtime( $fullPath ) ); $timestamp .= ' - '.date( 'H:i', filemtime( $fullPath ) ); if( $fileDate >= $lastday ) { array_push( $themeNames, $path_parts['filename'] ); array_push( $themeDates, $fileDate ); array_push( $themeTimes, $timestamp ); } } $totalNumP = 0; $totalNumT = 0; $updatedListP = ''; $updatedListT = ''; if( cau_get_db_value( 'html_or_text' ) == 'html' ) { $updatedListP .= '