Skip Navigation

[Gelöst] Warnings/Errors Deprecated: Required parameter…..

Dieser Thread wurde gelöst. Hier ist eine Beschreibung des Problems und der Lösung.

Problem: When Toolset plugins are active I see in the error logs several PHP deprecation notices related to required parameters following optional parameters, similar to this:

Deprecated: Required parameter $in follows optional parameter $method in \wp-content\plugins\wp-views\embedded\inc\wpv-query-debug.class.php on line 417

Solution:
Toolset is not yet compatible with PHP 8.x, so for best results we recommend you use a server that runs PHP 7.x instead, or ask your hosting company to help install the preferred lower version.

This support ticket is created vor 3 Jahren, 4 Monaten. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Heute stehen keine Supporter zur Arbeit im Werkzeugsatz-Forum zur Verfügung. Sie können gern Tickets erstellen, die wir bearbeiten werden, sobald wir online sind. Vielen Dank für Ihr Verständnis.

Sun Mon Tue Wed Thu Fri Sat
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

Dieses Thema enthält 4 Antworten, hat 3 Stimmen.

Zuletzt aktualisiert von Mario vor 3 Jahren, 3 Monaten.

Assistiert von: Christian Cox.

Author
Artikel
#2128197

After last update i get a lot of this warnings/errors from php:
How could i prevent this messages?

Deprecated: Required parameter $in follows optional parameter $method in \wp-content\plugins\wp-views\embedded\inc\wpv-query-debug.class.php on line 417

Deprecated: Required parameter $meta_type follows optional parameter $view_settings in \wp-content\plugins\wp-views\inc\filters\wpv-filter-meta-field.php on line 145

Deprecated: Required parameter $meta_type follows optional parameter $view_settings in \wp-content\plugins\wp-views\inc\filters\wpv-filter-meta-field.php on line 491

Deprecated: Required parameter $wpv_found_items follows optional parameter $context in \wp-content\plugins\wp-views\inc\wpv-listing-common.php on line 266

Deprecated: Required parameter $meta_type follows optional parameter $view_settings in \wp-content\plugins\wp-views\embedded\inc\wpv-summary-embedded.php on line 1772

Deprecated: Required parameter $css_id follows optional parameter $css_class_name in \wp-content\plugins\layouts\classes-auto\wpddl.layout.class.php on line 1296

Deprecated: Required parameter $tag follows optional parameter $css_class_name in \wp-content\plugins\layouts\classes-auto\wpddl.layout.class.php on line 1296

Deprecated: Required parameter $unique_id follows optional parameter $css_class_name in \wp-content\plugins\layouts\classes-auto\wpddl.layout.class.php on line 1296

Deprecated: Required parameter $css_id follows optional parameter $css_class_name in \wp-content\plugins\layouts\inc\cell_types\wpddl.cell_text.class.php on line 13

Deprecated: Required parameter $tag follows optional parameter $css_class_name in \wp-content\plugins\layouts\inc\cell_types\wpddl.cell_text.class.php on line 13

Deprecated: Required parameter $unique_id follows optional parameter $css_class_name in \wp-content\plugins\layouts\inc\cell_types\wpddl.cell_text.class.php on line 13

Deprecated: Required parameter $css_id follows optional parameter $css_class_name in \wp-content\plugins\layouts\inc\cell_types\wpddl.cell_text.class.php on line 148

Deprecated: Required parameter $tag follows optional parameter $css_class_name in \wp-content\plugins\layouts\inc\cell_types\wpddl.cell_text.class.php on line 148

Deprecated: Required parameter $unique_id follows optional parameter $css_class_name in \wp-content\plugins\layouts\inc\cell_types\wpddl.cell_text.class.php on line 148

Deprecated: Required parameter $css_id follows optional parameter $css_class_name in \wp-content\plugins\layouts\classes-auto\cells\wpddl.layout-text-base-cell.class.php on line 7

Deprecated: Required parameter $tag follows optional parameter $css_class_name in \wp-content\plugins\layouts\classes-auto\cells\wpddl.layout-text-base-cell.class.php on line 7

Deprecated: Required parameter $unique_id follows optional parameter $css_class_name in \wp-content\plugins\layouts\classes-auto\cells\wpddl.layout-text-base-cell.class.php on line 7

Deprecated: Required parameter $css_id follows optional parameter $css_class_name in \wp-content\plugins\layouts\inc\cell_types\wpddl.missing_cell_type.class.php on line 7

Deprecated: Required parameter $tag follows optional parameter $css_class_name in \wp-content\plugins\layouts\inc\cell_types\wpddl.missing_cell_type.class.php on line 7

Deprecated: Required parameter $unique_id follows optional parameter $css_class_name in \wp-content\plugins\layouts\inc\cell_types\wpddl.missing_cell_type.class.php on line 7

Deprecated: Required parameter $css_id follows optional parameter $css_class_name in \wp-content\plugins\layouts\inc\cell_types\wpddl.child_layout.class.php on line 10

Deprecated: Required parameter $tag follows optional parameter $css_class_name in \wp-content\plugins\layouts\inc\cell_types\wpddl.child_layout.class.php on line 10

Deprecated: Required parameter $unique_id follows optional parameter $css_class_name in \wp-content\plugins\layouts\inc\cell_types\wpddl.child_layout.class.php on line 10

Deprecated: Required parameter $css_id follows optional parameter $css_class_name in \wp-content\plugins\layouts\inc\cell_types\wpddl.child_layout.class.php on line 97

Deprecated: Required parameter $tag follows optional parameter $css_class_name in \wp-content\plugins\layouts\inc\cell_types\wpddl.child_layout.class.php on line 97

Deprecated: Required parameter $unique_id follows optional parameter $css_class_name in \wp-content\plugins\layouts\inc\cell_types\wpddl.child_layout.class.php on line 97

Deprecated: Required parameter $tag follows optional parameter $css_class_name in \wp-content\plugins\layouts\inc\cell_types\wpddl.cell_views_content_template.class.php on line 11

Deprecated: Required parameter $unique_id follows optional parameter $css_class_name in \wp-content\plugins\layouts\inc\cell_types\wpddl.cell_views_content_template.class.php on line 11

Deprecated: Required parameter $css_id follows optional parameter $css_class_name in \wp-content\plugins\layouts\inc\cell_types\wpddl.cell_views_content_template.class.php on line 136

Deprecated: Required parameter $tag follows optional parameter $css_class_name in \wp-content\plugins\layouts\inc\cell_types\wpddl.cell_views_content_template.class.php on line 136

Deprecated: Required parameter $unique_id follows optional parameter $css_class_name in \wp-content\plugins\layouts\inc\cell_types\wpddl.cell_views_content_template.class.php on line 136

Deprecated: Required parameter $editor_visual_template_id follows optional parameter $css_class_name in \wp-content\plugins\layouts\inc\cell_types\wpddl.cell_views_loop.class.php on line 9

Deprecated: Required parameter $css_id follows optional parameter $css_class_name in \wp-content\plugins\layouts\inc\cell_types\wpddl.cell_views_loop.class.php on line 9

Deprecated: Required parameter $tag follows optional parameter $css_class_name in \wp-content\plugins\layouts\inc\cell_types\wpddl.cell_views_loop.class.php on line 9

Deprecated: Required parameter $unique_id follows optional parameter $css_class_name in \wp-content\plugins\layouts\inc\cell_types\wpddl.cell_views_loop.class.php on line 9

Deprecated: Required parameter $css_id follows optional parameter $css_class_name in \wp-content\plugins\layouts\inc\cell_types\wpddl.cell_views_loop.class.php on line 102

Deprecated: Required parameter $tag follows optional parameter $css_class_name in \wp-content\plugins\layouts\inc\cell_types\wpddl.cell_views_loop.class.php on line 102

Deprecated: Required parameter $unique_id follows optional parameter $css_class_name in \wp-content\plugins\layouts\inc\cell_types\wpddl.cell_views_loop.class.php on line 102

Deprecated: Required parameter $args follows optional parameter $depth in \wp-content\plugins\layouts\inc\cell_types\wpddl.cell_menu.class.php on line 293

Deprecated: Required parameter $output follows optional parameter $depth in \wp-content\plugins\layouts\inc\cell_types\wpddl.cell_menu.class.php on line 293

Deprecated: Required parameter $css_id follows optional parameter $css_class_name in \wp-content\plugins\layouts\inc\cell_types\wpddl.cell_widget_area.class.php on line 11

Deprecated: Required parameter $tag follows optional parameter $css_class_name in \wp-content\plugins\layouts\inc\cell_types\wpddl.cell_widget_area.class.php on line 11

Deprecated: Required parameter $unique_id follows optional parameter $css_class_name in \wp-content\plugins\layouts\inc\cell_types\wpddl.cell_widget_area.class.php on line 11

Deprecated: Required parameter $css_id follows optional parameter $css_class_name in \wp-content\plugins\layouts\inc\cell_types\wpddl.cell_widget_area.class.php on line 34

Deprecated: Required parameter $tag follows optional parameter $css_class_name in \wp-content\plugins\layouts\inc\cell_types\wpddl.cell_widget_area.class.php on line 34

Deprecated: Required parameter $unique_id follows optional parameter $css_class_name in \wp-content\plugins\layouts\inc\cell_types\wpddl.cell_widget_area.class.php on line 34

Deprecated: Required parameter $css_id follows optional parameter $css_class_name in \wp-content\plugins\layouts\inc\cell_types\wpddl.cell_post-content-cell.class.php on line 16

Deprecated: Required parameter $tag follows optional parameter $css_class_name in \wp-content\plugins\layouts\inc\cell_types\wpddl.cell_post-content-cell.class.php on line 16

Deprecated: Required parameter $unique_id follows optional parameter $css_class_name in \wp-content\plugins\layouts\inc\cell_types\wpddl.cell_post-content-cell.class.php on line 16

Deprecated: Required parameter $css_id follows optional parameter $css_class_name in \wp-content\plugins\layouts\inc\cell_types\wpddl.cell_post-content-cell.class.php on line 150

Deprecated: Required parameter $tag follows optional parameter $css_class_name in \wp-content\plugins\layouts\inc\cell_types\wpddl.cell_post-content-cell.class.php on line 150

Deprecated: Required parameter $unique_id follows optional parameter $css_class_name in \wp-content\plugins\layouts\inc\cell_types\wpddl.cell_post-content-cell.class.php on line 150

Deprecated: Elementor\Utils::is_ajax ist seit Version 2.6.0 veraltet! Benutze stattdessen wp_doing_ajax(). in \wp-includes\functions.php on line 5083

Deprecated: Required parameter $field follows optional parameter $post in \wp-content\plugins\types\vendor\toolset\types\embedded\includes\api.php on line 405

#2128253

Shane
Supporter

Sprachen: Englisch (English )

Zeitzone: America/Jamaica (GMT-05:00)

Hi Mario,

Thank you for getting in touch.

In order to understand better what is happening here I would like for you to provide me with the debug data for your site. Form this I will be able to make some recommendations on the way forward to resolve this.

To provide the debug data please follow the instructions in the link below.
https://toolset.com/faq/provide-debug-information-faster-support/

I've also enabled the special fields for you to add the debug information to.

Thanks,
Shane

#2131249

i also get this within another local developement environment
PHP Deprecated: Required parameter $field follows optional parameter $post in \wp-content\plugins\types\vendor\toolset\types\embedded\includes\api.php on line 405
Deprecated: Required parameter $field follows optional parameter $post in \wp-content\plugins\types\vendor\toolset\types\embedded\includes\api.php on line 405

#2131933

Hi, Shane is on vacation this week so I'm checking in on his open tickets. It seems that your server is running PHP 8, and our software is not entirely compatible with this version of PHP. We are working to address that in a future release, but at this time we recommend PHP versions lower than version 8 when using Toolset for best results.

#2135675

ok, thanks.