Skip Navigation

[Résolu] Site is Experiencing a Technical Issue

This support ticket is created Il y a 3 années et 2 mois. 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.

Aucun de nos assistants n'est disponible aujourd'hui sur le forum Jeu d'outils. Veuillez créer un ticket, et nous nous le traiterons dès notre prochaine connexion. Merci de votre compréhension.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Karachi (GMT+05:00)

Ce sujet contient 3 réponses, a 2 voix.

Dernière mise à jour par Waqar Il y a 3 années et 2 mois.

Assisté par: Waqar.

Auteur
Publications
#2175053

Hi,

after updating the Toolset Views to the latest version 3.6.1 and WordPress to 5.8.1 I got an error message to my email:

When seeking help with this issue, you may be asked for some of the following information:
WordPress version 5.8.1
Current theme: Divi (version 4.10.8)
Current plugin: Toolset Views (version 3.6.1)
PHP version 8.0.1

Error Details
=============
An error of type E_ERROR was caused in line 138 of the file /data/web/virtuals/233147/virtual/www/domains/mydomain.com/wp-content/plugins/wp-views/backend/Controllers/Admin/ContentTemplate.php. Error message: Uncaught TypeError: OTGS\Toolset\Views\Controllers\Admin\ContentTemplate::set_default_content_template_meta(): Argument #2 ($post) must be of type WP_Post, null given, called in /data/web/virtuals/233147/virtual/www/domains/mydomain.com/wp-includes/class-wp-hook.php on line 303 and defined in /data/web/virtuals/233147/virtual/www/domains/mydomain.com/wp-content/plugins/wp-views/backend/Controllers/Admin/ContentTemplate.php:138
Stack trace:
#0 /data/web/virtuals/233147/virtual/www/domains/mydomain.com/wp-includes/class-wp-hook.php(303): OTGS\Toolset\Views\Controllers\Admin\ContentTemplate->set_default_content_template_meta(788, NULL, true)
#1 /data/web/virtuals/233147/virtual/www/domains/mydomain.com/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters('', Array)
#2 /data/web/virtuals/233147/virtual/www/domains/mydomain.com/wp-includes/plugin.php(470): WP_Hook->do_action(Array)
#3 /data/web/virtuals/233147/virtual/www/domains/mydomain.com/wp-includes/post.php(4479): do_action('wp_insert_post', 788, NULL, true)
#4 /data/web/virtuals/233147/virtual/www/domains/mydomain.com/wp-includes/post.php(4570): wp_insert_post(Array, false, true)
#5 /data/web/virtuals/233147/virtual/www/domains/mydomain.com/wp-admin/includes/post.php(1882): wp_update_post(Array)
#6 /data/web/virtuals/233147/virtual/www/domains/mydomain.com/wp-content/themes/Divi/includes/builder/core.php(2165): wp_create_post_autosave(Array)
#7 /data/web/virtuals/233147/virtual/www/domains/mydomain.com/wp-content/themes/Divi/includes/builder/core.php(2308): et_fb_autosave(Array)
#8 /data/web/virtuals/233147/virtual/www/domains/mydomain.com/wp-includes/class-wp-hook.php(305): et_fb_heartbeat_autosave(Array, Array)
#9 /data/web/virtuals/233147/virtual/www/domains/mydomain.com/wp-includes/plugin.php(189): WP_Hook->apply_filters(Array, Array)
#10 /data/web/virtuals/233147/virtual/www/domains/mydomain.com/wp-admin/includes/ajax-actions.php(3415): apply_filters('heartbeat_recei...', Array, Array, 'front')
#11 /data/web/virtuals/233147/virtual/www/domains/mydomain.com/wp-includes/class-wp-hook.php(303): wp_ajax_heartbeat('')
#12 /data/web/virtuals/233147/virtual/www/domains/mydomain.com/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters('', Array)
#13 /data/web/virtuals/233147/virtual/www/domains/mydomain.com/wp-includes/plugin.php(470): WP_Hook->do_action(Array)
#14 /data/web/virtuals/233147/virtual/www/domains/mydomain.com/wp-admin/admin-ajax.php(187): do_action('wp_ajax_heartbe...')
#15 {main}
thrown

#2175661

Hi,

Thank you for contacting us and I'd be happy to assist.

Your website's server is using PHP 8, which is currently not supported.
( ref: https://toolset.com/toolset-requirements/ )

Can you please switch to PHP 7 and let us know if this error appears again?

regards,
Waqar

#2179493

Hi,

I have downgraded the PHP to 7.4 and it seems OK. Don't you have any information when it will be solved?

#2179909

Thanks for the update and glad that it worked.

At the moment, we have no time estimate to share for the PHP 8 support, but, important updates like this are usually announced through our blog posts.