Fatal erro: Declaration of Carbon_Fields…
-
Hey! I was just trying to test your pluging on my website, but immediately after activating the plugin, I get the following error. It appears to crash the whole WP dashboard, while after deactivating the pluging everything returns to normal again. Are you familiar with the source of this error? I did not see any similar support tickets through search.
“Fatal error: Declaration of Carbon_Fields\Datastore\Key_Value_Datastore::load(Carbon_Fields\Field\Field $field) must be compatible with Carbon_Fields\Datastore\Datastore_Interface::load($field) in /home/[DOMAIN PATH]/public_html/wp-content/plugins/scrollsequence/includes/carbonfields/htmlburger/carbon-fields/core/Datastore/Key_Value_Datastore.php on line 150
EDIT: Here is the line 150:public function load( Field $field ) { $storage_key_patterns = $this->key_toolset->get_storage_key_getter_patterns( $field->is_simple_root_field(), $this->get_full_hierarchy_for_field( $field ) ); $cascading_storage_array = $this->get_storage_array( $field, $storage_key_patterns ); $value_tree_array = $this->cascading_storage_array_to_value_tree_array( $cascading_storage_array ); if ( $value_tree_array === null ) { return $value_tree_array; } $value_tree = $this->value_tree_array_to_value_tree( $value_tree_array, $field ); return $value_tree; }
- You must be logged in to reply to this topic.