after 1.8.0.2 update widget not working with amp
-
if i update the plugin to any version after 1.8.0.2 the widget wpform not working.
It happen with wordpress 6.2 and amp wp official plugin.
If i disable amp plugin or use the version 1.8.0.2 all work fine.
-
Hey @upgfermi – Thanks for reaching out!
To take a closer look into the issue, I installed AMP plugin on my dev setup and the WPForms block appears to be working fine even though I’m on the latest version. When you have sometime, can you please share the steps I can follow to replicate the issue? Also, can you please share the site URL so I can take a closer look?
Kindly,
After update plugin if i go to https://www.mywebsite.com/wp-admin/widgets.php
with debug active:
WordPress version 6.2
Current plugin: WPForms Lite (version 1.8.1.2)
PHP version 8.1.15Error Details
An error of type E_ERROR was caused in line 266 of the file /home/mywebsite/public_html/wp-content/plugins/wpforms-lite/src/Frontend/Amp.php. Error message: Uncaught Error: Call to a member function assets_confirmation() on null in /home/mywebsite/public_html/wp-content/plugins/wpforms-lite/src/Frontend/Amp.php:266
Stack trace:0 /home/mywebsite/public_html/wp-content/plugins/wpforms-lite/src/Frontend/Frontend.php(1397): WPForms\Frontend\Amp->output_success_template()
1 /home/mywebsite/public_html/wp-includes/class-wp-hook.php(308): WPForms\Frontend\Frontend->foot()
2 /home/mywebsite/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
3 /home/mywebsite/public_html/wp-includes/plugin.php(517): WP_Hook->do_action()
4 /home/mywebsite/public_html/wp-content/plugins/wpforms-lite/src/Frontend/Frontend.php(297): do_action()
5 /home/mywebsite/public_html/wp-content/plugins/wpforms-lite/src/Frontend/Frontend.php(2129): WPForms\Frontend\Frontend->output()
6 /home/mywebsite/public_html/wp-includes/shortcodes.php(355): WPForms\Frontend\Frontend->shortcode()
7 [internal function]: do_shortcode_tag()
8 /home/mywebsite/public_html/wp-includes/shortcodes.php(227): preg_replace_callback()
9 /home/mywebsite/public_html/wp-includes/class-wp-hook.php(310): do_shortcode()
10 /home/mywebsite/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters()
11 /home/mywebsite/public_html/wp-includes/widgets/class-wp-widget-block.php(78): apply_filters()
12 /home/mywebsite/public_html/wp-includes/class-wp-widget.php(394): WP_Widget_Block->widget()
13 /home/mywebsite/public_html/wp-includes/widgets.php(2022): WP_Widget->display_callback()
14 /home/mywebsite/public_html/wp-includes/rest-api/endpoints/class-wp-rest-widgets-controller.php(697): wp_render_widget()
15 /home/mywebsite/public_html/wp-includes/rest-api/endpoints/class-wp-rest-widgets-controller.php(154): WP_REST_Widgets_Controller->prepare_item_for_response()
16 /home/mywebsite/public_html/wp-includes/rest-api/class-wp-rest-server.php(1181): WP_REST_Widgets_Controller->get_items()
17 /home/mywebsite/public_html/wp-includes/rest-api/class-wp-rest-server.php(1028): WP_REST_Server->respond_to_request()
18 /home/mywebsite/public_html/wp-includes/rest-api.php(535): WP_REST_Server->dispatch()
19 /home/mywebsite/public_html/wp-includes/rest-api.php(2889): rest_do_request()
20 [internal function]: rest_preload_api_request()
21 /home/mywebsite/public_html/wp-includes/block-editor.php(634): array_reduce()
22 /home/mywebsite/public_html/wp-admin/widgets-form-blocks.php(26): block_editor_rest_api_preload()
23 /home/mywebsite/public_html/wp-admin/widgets.php(32): require(‘…’)
24 {main}
Hi @upgfermi – I am Nik, jumping here on behalf of Prashant.
I’ll be replicating the issue with the environment that you have mentioned and will get back to you with an update.Thanks,
Hi @upgfermi — Thank you for your patience here!
We tried to replicate the issue with ?WP 6.2 | PHP 8.1.15 and WPForms Lite (version 1.8.1.2) and navigate to /wp-admin/widgets.php and see no errorCould you please navigate to the Site Health of your site and share the “Site Info” with us?
Thanks,
wp-core version: 6.2
site_language: en_US
user_language: it_IT
timezone: Europe/Rome
permalink: /%postname%/
https_status: true
multisite: false
user_registration: 0
blog_public: 1
default_comment_status: closed
environment_type: production
user_count: 3
dotorg_communication: true wp-paths-sizes wordpress_path: /home/mywebsite/public_html/en
wordpress_size: 54.65 MB (57306015 bytes)
uploads_path: /home/mywebsite/public_html/en/wp-content/uploads
uploads_size: 407.61 MB (427411370 bytes)
themes_path: /home/mywebsite/public_html/en/wp-content/themes
themes_size: 49.87 MB (52297398 bytes)
plugins_path: /home/mywebsite/public_html/en/wp-content/plugins
plugins_size: 39.96 MB (41896303 bytes)
database_size: 260.81 MB (273481728 bytes)
total_size: 812.91 MB (852392814 bytes) wp-active-theme name: mywebsite.com (astra-mywebsite)
version: 1.0.0
author: Upgrade
author_website:
parent_theme: Astra (astra)
theme_features: core-block-patterns, astra_hooks, widgets-block-editor, align-wide, automatic-feed-links, title-tag, post-thumbnails, starter-content, html5, post-formats, custom-logo, customize-selective-refresh-widgets, editor-style, woocommerce, rank-math-breadcrumbs, amp, editor-color-palette, widgets, menus
theme_path: /home/mywebsite/public_html/en/wp-content/themes/astra-mywebsite wp-parent-theme name: Astra (astra)
version: 4.1.3
author: Brainstorm Force
author_website: https://wpastra.com/about/?utm_source=theme_preview&utm_medium=author_link&utm_campaign=astra_theme
theme_path: /home/mywebsite/public_html/en/wp-content/themes/astra wp-plugins-active (4) AMP: version: 2.4.1, author: AMP Project Contributors
Astra Pro: version: 4.1.4, author: Brainstorm Force
WPForms Lite: version: 1.8.1.2, author: WPForms
WP GDPR Cookie Notice: version: 1.0.0-rc.2, author: Felix Arntz wp-media image_editor: WP_Image_Editor_GD
imagick_module_version: 1690
imagemagick_version: ImageMagick 6.9.10-68 Q16 x86_64 2021-10-14 https://imagemagick.org
imagick_version: @PACKAGE_VERSION@
file_uploads: File uploads is turned off
post_max_size: 64M
upload_max_filesize: 64M
max_effective_size: 64 MB
max_file_uploads: 20
gd_version: bundled (2.1.0 compatible)
gd_formats: GIF, JPEG, PNG, WebP, BMP, AVIF, XPM
ghostscript_version: not available wp-server server_architecture: Linux 3.10.0-1160.88.1.el7.x86_64 x86_64
httpd_software: Apache/2.4.56 (Unix) OpenSSL/1.0.2k-fips
php_version: 8.1.15 64bit
php_sapi: fpm-fcgi
max_input_variables: 2000
time_limit: 30
memory_limit: 1024M
max_input_time: 300
upload_max_filesize: 64M
php_post_max_size: 64M
curl_version: 7.29.0 NSS/3.53.1
suhosin: false
imagick_availability: true
pretty_permalinks: true
htaccess_extra_rules: true wp-database extension: mysqli
server_version: 10.8.7-MariaDB
client_version: mysqlnd 8.1.15
max_allowed_packet: 16777216
max_connections: 151 wp-constants WP_HOME: https://www.mywebsite.com/en
WP_SITEURL: https://www.mywebsite.com/en
WP_CONTENT_DIR: /home/mywebsite/public_html/en/wp-content
WP_PLUGIN_DIR: /home/mywebsite/public_html/en/wp-content/plugins
WP_MEMORY_LIMIT: 512M
WP_MAX_MEMORY_LIMIT: 512M
WP_DEBUG: false
WP_DEBUG_DISPLAY: true
WP_DEBUG_LOG: false
SCRIPT_DEBUG: false
WP_CACHE: true
CONCATENATE_SCRIPTS: false
COMPRESS_SCRIPTS: false
COMPRESS_CSS: false
WP_ENVIRONMENT_TYPE: Non definito
DB_CHARSET: utf8mb4
DB_COLLATE: undefined wp-filesystem wordpress: writable
wp-content: writable
uploads: writable
plugins: writable
themes: writable
mu-plugins: writable amp_wp amp_slug_query_var: amp
amp_slug_defined_late: false
amp_mode_enabled: standard
amp_reader_theme: legacy
amp_templates_enabled: post, page, attachment, is_singular, is_front_page, is_home, is_archive, is_author, is_date, is_search, is_404, is_category, is_tag
amp_serve_all_templates: true
amp_css_transient_caching_disabled: false
amp_css_transient_caching_threshold: 5000 transients per day
amp_css_transient_caching_sampling_range: 14 days
amp_css_transient_caching_transient_count: 1504
amp_css_transient_caching_time_series:
20230406: 712
20230407: 768
20230408: 811
20230409: 799
20230410: 839
20230411: 874
20230412: 942
20230413: 1085
20230414: 1115
20230415: 1206
20230416: 1276
20230417: 1293
20230418: 1336
20230419: 1446
amp_libxml_version: 2.9.1 wpforms version: 1.8.1.2
lite: Giu 15, 2018 @ 5:38pm
upload_dir: Scrivibile
total_forms: 2
total_submissions: 7Hey @upgfermi – Thanks for the patience!
We’ve looked into the issue you’re facing and on a fresh WPForms lite install, with AMP and Astra theme installed, we’re unable to replicate any error message on our end. If possible, can you please share AMP plugin settings that you’re using in case we’re missing any specific setting?
Kindly,
hello, i have install a new wp + astra + amp + wpform in test ambient
you can see the problem here:
https://wp.upgradeinformatica.it/
if you want i can give the credential for admin access in private, for now the installation have debug active
Hey @upgfermi – Thanks for following on this ticket!
To help avoid any confusion, www.ads-software.com forum rules prohibits sharing the login details. That said, when you have sometime, can you please share details or some screenshots of the AMP setting that you’re using so I can take a close look?
Sorry Prashant, i don’t say that, attach the sceenshot:
Hey @upgfermi – Thanks for sharing the details, and we were able to replicate the issue message that you’re seeing. We have reported this to our developers, and once we get some updates from the devs, I’ll circle back to notify you.
In the meantime, if you have any questions, please feel free to reachout.
Kindly,
Thank you for the patience and availability, I await the notify.
Hi @upgfermi and @prashantrai,
I’m facing the same issue at the moment. Hope you will be able to fix this soon.Im using the following setup:
– WP v6.2
– Custom theme
– Official AMP plugin v2.4.1
– WPForms v1.8.1.2
Let me know if there is anything I can do to help!Hey @jdrboost – Our developers are already working on this, and once we have the update ready, I’ll be sure to circle back and update this thread.
Kindly,
Hello everyone, having similar issue
My setup:
– WP v6.2
– Neve theme
– Official AMP plugin v2.4.1
– WPForms v1.8.1.2Hey @egornmore – The issue is on the radar of our developers, and as soon as we have the update ready, I’ll make sure to return to this thread and provide an update.
- The topic ‘after 1.8.0.2 update widget not working with amp’ is closed to new replies.