Category Archives: Wordpress

FastCGI sent in stderr: “PHP message: PHP Fatal error: Uncaught Error: Class ‘Elementor\Scheme_Color’

2022/03/24 04:21:34 [error] 48814#48814: *3018415 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Error: Class 'Elementor\Scheme_Color' not found in ... /wp-content/plugins/tz-feature-pack/includes/elementor/class-tz-fp-site-logo.php:115
Stack trace:

Last night elementor update was causing me this fatal error.

The solution is to replace Scheme_Color with \Elementor\Core\Schemes\Color

As seen on https://forum.elementor.com/fixing-common-issues-33/wordpress-error-with-elementor-plugin-10649

WordPress Elementor Popup issue with WPML translations

I came across with a issue on a WordPress theme, with Elementor and WPML.

The theme is using a POPUP for the some menus.
We have a PT and EN version with WPML.
We have created the translation to EN but it isn’t being printed by WP in the EN version of the site, just the PT version.

So, to use translated POPUPs, you might need to translate them under the default language of the WP.

store-mega-menu-en needs to be created under PT language…

To change instance – for the menu to be written on (the entire site)) this is how to change it

add postmeta on wp admin



add_filter('manage_post_posts_columns', function($columns) {
	return array_merge($columns, ['source_domain' => __('URL', 'textdomain')]);
});
 
add_action('manage_post_posts_custom_column', function($column_key, $post_id) {
	if ($column_key == 'source_domain') {
		$source_domain = get_post_meta($post_id, 'source_domain', true);
		//if ($source_domain == 1) {} else {}
		echo $source_domain;
	}
}, 10, 2);

As seen on