Alexander Bigga
Forum Replies Created
-
Thank you. I’ve just tested v3.1.2. WP CLI works again!
I’ve just stumbled about the same issue and started to research if it’s a bug or a feature π
With matomo 5.3.2 we received the following error in Apaches error.log.
AH01071: Got error 'PHP message: PHP Fatal error: Uncaught Error: Call to undefined function WpMatomo\Ecommerce\WC() in /var/www/wp-content/plugins/matomo/classes/WpMatomo/Ecommerce/Woocommerce.php:520\nStack trace:\n#0 /var/www/wp-content/plugins/matomo/classes/WpMatomo/Ecommerce/Base.php(263): WpMatomo\Ecommerce\Woocommerce->get_tracking_calls_in_session()\n#1 /var/www/wp-includes/class-wp-hook.php(322): WpMatomo\Ecommerce\Base->maybe_do_delayed_tracking_early()\n#2 /var/www/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()\n#3 /var/www/wp-includes/plugin.php(517): WP_Hook->do_action()\n#4 /var/www/wp-includes/general-template.php(3208): do_action()\n#5 /var/www/wp-content/themes/Avada/footer.php(73): wp_footer()\n#6 /var/www/wp-includes/template.php(810): require_once('β¦')\n#7 /var/www/wp-includes/template.php(745): load_template()\n#8 /var/www/wp-includes/general-template.php(92): locate_template()\n#9 /var/www/wp-content/themes/Avada/single.php(98): get_footer()\n#10 /var/www/wp-includes/template-loader.php(10β¦'Same happens in another theme, calling
get_footer()in a different template file.With 5.3.3 the issue seems to be f ixed.
This has been fixed with 1.5.3. Thank you.
Forum: Fixing WordPress
In reply to: Translations and styling gone after WP 6.7 updateFor me, this works. But I had to add a version switch. So I think, this is not what is intended by the functions:
if ( version_compare( $GLOBALS['wp_version'], '6.7', '<' ) ) {
load_theme_textdomain( 'YOURTEXTDOMAIN', get_template_directory() . '/languages' );
} else {
load_textdomain( 'YOURTEXTDOMAIN', get_template_directory() . '/languages/' . determine_locale() . '.mo' );
}Forum: Fixing WordPress
In reply to: Translations and styling gone after WP 6.7 updateI noticed the same. I suppose, this happens if the theme ships it’s own translation files.
This does not work anymore with WordPress 6.7 for your theme “YOURTEXTDOMAIN”:
load_theme_textdomain( 'YOURTEXTDOMAIN', get_template_directory() . '/languages' );I switched now to
load_textdomain( 'YOURTEXTDOMAIN', get_template_directory() . '/languages/' . determine_locale() . '.mo' );- This reply was modified 1 year, 6 months ago by Alexander Bigga. Reason: added workaround
Same here.
PHP Fatal error: Uncaught Error: Call to undefined method ZipAI\\Classes\\Module::force_enabled() in /var/www/wp-content/plugins/ultimate-addons-for-gutenberg/classes/class-uagb-loader.php:577\nStack trace:\n#0 /var/www/wp-includes/class-wp-hook.php(324): UAGB_Loader->add_zip_ai_modules()\n#1 /var/www/wp-includes/plugin.php(205): WP_Hook->apply_filters()\n#2 /var/www/wp-content/plugins/astra-sites/inc/lib/zip-ai/classes/module.php(122): apply_filters()\n#3 /var/www/wp-content/plugins/astra-sites/inc/lib/zip-ai/classes/module.php(185): ZipAI\\Classes\\Module::get_all_modules()\n#4 /var/www/wp-content/plugins/astra-sites/inc/lib/zip-ai/loader.php(178): ZipAI\\Classes\\Module::is_enabled()\n#5 /var/www/wp-includes/class-wp-hook.php(324): ZipAI\\Loader->setup_classes()\n#6 /var/www/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()\n#7 /var/www/wp-includes/plugin.php(517): WP_Hook->do_action()\n#8 /var/www/wp-settings.php(506): do_action()\n#9 /var/www/wp-config.php(103): require_once('...')\n#10 /var/www/wp-load.php(50): require_once('...')\n#11 /var/www/wp-blog-header.php(13): require_once('...')\n#12 /var/www/index.php(17): require('...')\n#13 {main}\n thrown in /var/www/wp-content/plugins/ultimate-addons-for-gutenberg/classes/class-uagb-loader.php on line 577- WordPress 6.4.2
- PHP 8.2
This is true @joneiseman. For me, the large view is more important. The responsive view is not nice, but usable. So I’m waiting for an official fix without changing the code.
In my case, I could fix the issue by adding the
calendar_sizeparameter to the shortcode, I use.[events_calendar full=1 long_events=1 calendar_size=large]I have the same issue on two blogs. Looking forward for a fix or an tutorial how to get the old behaviour.