Как решить проблему Catchable fatal error: Argument 2 passed?

Catchable fatal error: Argument 2 passed to Elementor\TemplateLibrary\Source_Local::on_save_post() must be an instance of WP_Post, null given in /home/d/abc/public_html/wp-content/plugins/elementor/includes/template-library/sources/local.php on line 1015

public function on_save_post( $post_id, \WP_Post $post ) {
		if ( self::CPT !== $post->post_type ) {
			return;
		}
  • Вопрос задан
  • 292 просмотра
Пригласить эксперта
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Войти через центр авторизации
Похожие вопросы