Notice: require(): Read of 3486 bytes failed with errno=12 Cannot allocate memory in /var/www/vhosts/wellsfordplus.nz/httpdocs/wp-content/plugins/elementor/includes/autoloader.php on line 300

Notice: require(): Read of 3486 bytes failed with errno=12 Cannot allocate memory in /var/www/vhosts/wellsfordplus.nz/httpdocs/wp-content/plugins/elementor/includes/autoloader.php on line 300
[ $key ] ?? null; } protected function parse_editor_settings( array $data ): array { $editor_data = []; if ( isset( $data['title'] ) && is_string( $data['title'] ) ) { $editor_data['title'] = sanitize_text_field( $data['title'] ); } return $editor_data; } public static function get_props_schema(): array { $schema = static::define_props_schema(); if ( ! isset( $schema['_cssid'] ) ) { $schema['_cssid'] = String_Prop_Type::make()->meta( Overridable_Prop_Type::ignore() ); } return apply_filters( 'elementor/atomic-widgets/props-schema', $schema ); } protected function set_render_context( array $context_pairs ): void { foreach ( $context_pairs as $context_pair ) { $context_key = $context_pair['context_key'] ?? static::class; $context = $context_pair['context']; Render_Context::push( $context_key, $context ); } } protected function clear_render_context( array $context_pairs ): void { foreach ( $context_pairs as $context_pair ) { $context_key = $context_pair['context_key'] ?? static::class; Render_Context::pop( $context_key ); } } public function print_content() { $defined_context = $this->define_render_context(); if ( empty( $defined_context ) ) { return parent::print_content(); } $this->set_render_context( $defined_context ); parent::print_content(); $this->clear_render_context( $defined_context ); } /** * Define the context for element's Render_Context. * * @return array Array of context pairs. Each pair is an associative array with: * - 'context_key' (optional): The context key. Defaults to static::class if not provided. * - 'context' (required): The context value (can be any type). * * @example * [ * [ * 'context_key' => 'custom-key', * 'context' => ['some' => 'data'], * ], * [ * 'context' => ['instance_id' => $this->get_id()], * ], * ] */ protected function define_render_context(): array { return []; } protected function get_link_attributes( $link_settings ) { if ( empty( $link_settings['href'] ) ) { return []; } $tag = $link_settings['tag'] ?? Link_Prop_Type::DEFAULT_TAG; $url = $link_settings['href']; $target = $link_settings['target'] ?? '_self'; $is_action_link = 'button' === $tag; $url_attr_key = $is_action_link ? 'data-action-link' : 'href'; return [ $url_attr_key => $url, 'target' => $target, ]; } private function get_link_attributes_string( $link_settings ) { $link_attributes = $this->get_link_attributes( $link_settings ); if ( empty( $link_attributes ) ) { return ''; } $parts = []; foreach ( $link_attributes as $key => $value ) { if ( 'tag' === $key ) { continue; } $parts[] = sprintf( '%s="%s"', $key, esc_attr( $value ) ); } return implode( ' ', $parts ); } public function has_action_link() { if ( ! $this->get_id() ) { return true; } $link_settings = $this->get_atomic_setting( 'link' ) ?? null; $attributes = $this->get_link_attributes( $link_settings ); return isset( $attributes['data-action-link'] ); } public function get_script_depends() { $depends = parent::get_script_depends(); if ( $this->has_action_link() ) { $depends[] = Frontend_Assets_Loader::ACTION_LINK_HANDLERS_HANDLE; } if ( Atomic_Form::is_instance_form( $this ) ) { $depends[] = Frontend_Assets_Loader::FORM_HANDLERS_HANDLE; } return $depends; } }
Fatal error: Trait "Elementor\Modules\AtomicWidgets\Elements\Base\Has_Atomic_Base" not found in /var/www/vhosts/wellsfordplus.nz/httpdocs/wp-content/plugins/elementor/modules/atomic-widgets/elements/base/atomic-widget-base.php on line 13
WordPress › Error

There has been a critical error on this website.

Learn more about troubleshooting WordPress.