Skip Navigation

[Resolved] Updating failed. The response is not a valid JSON response. Page will not update

This support ticket is created 3 years, 5 months ago. 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.

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: Africa/Casablanca (GMT+01:00)

This topic contains 9 replies, has 3 voices.

Last updated by Jamal 3 years, 5 months ago.

Assisted by: Jamal.

Author
Posts
#2238965
broken-frontend.png
console-error.png
screenshot-console.png

Dear sirs.

I am trying to:
Update and edit a page using the Toolset View Block, and also create an Archive.

The website and these pages also use Advanced custom fields custom blocks, but even if I remove these blocks the page will then either not update, delete the entire page content, or add the removed ACF block into the page several times and remove all page styling. See attached screenshot-console.png

I have also had this problem using the WordPress Archives feature of toolset.

Link to a page where the issue can be seen: This site is on a local server, for you to view this I will need the IPS of those needing to view the pages.

I expected to see: A styled page with no issues

Instead, I got: A broken, or corrupted page as per broken-frontend.png & console-error.png

In the admin of the entire site with you plugins installed I get "Updating failed. The response is not a valid JSON response" and the "Cannot modify header information..." as per the sceenshot-console.png

If you can provide IPS for support I will add this to our VPN and that provide URL access.

Thanks,

#2239025

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Based on the screenshot you shared with your initial reply:
=> https://toolset.com/wp-content/uploads/2021/12/2238965-screenshot_console.png

It shows the error message from your theme - what if you try to switch to the default theme and check if that help you to resolve this issue. If that does, then you should check with your theme author and if in any case Toolset is involved we are happy to help you as always.

#2239921

Hi Minesh,

Thank you for the reply.

I have since switched the theme to a default wordpress and then fixed the bug in the theme. We are now however getting another issue which is present in both our custom theme and the 2021 WP default.

It seems if we add a search option to the page you can not save that page, nor remove the search.

Debug code below:
{"core":{"Wordpress":{"Multisite":"No","SiteURL":"https:\/\/thrive-childcare.test","HomeURL":"https:\/\/thrive-childcare.test","Version":"5.8.2","PermalinkStructure":"\/%postname%\/","PostTypes":"post, page, attachment, revision, nav_menu_item, custom_css, customize_changeset, oembed_cache, user_request, wp_block, wp_template, cred-form, cred-user-form, wp-types-group, wp-types-user-group, wp-types-term-group, acf-field-group, acf-field, view, view-template, wpa-helper, cred_rel_form","PostSatus":"publish, future, draft, pending, private, trash, auto-draft, inherit, request-pending, request-confirmed, request-failed, request-completed, acf-disabled, hidden"},"Server":{"jQueryVersion":"3.6.0","PHPVersion":"8.0.12","MySQLVersion":"8.0.27","ServerSoftware":"nginx\/1.21.4"},"PHP":{"MemoryLimit":"512M","UploadMax":"512M","PostMax":"512M","TimeLimit":"30","MaxInputVars":"1000"}},"plugins":{"active_plugins":{"gravityforms\/gravityforms.php":{"Name":"Gravity Forms","PluginURI":"https:\/\/gravityforms.com","Version":"2.5.15","Author":"Gravity Forms","AuthorURI":"https:\/\/gravityforms.com","TextDomain":"gravityforms","DomainPath":"\/languages","Network":false,"RequiresWP":"4.0","RequiresPHP":"5.6","UpdateURI":"","Title":"Gravity Forms","AuthorName":"Gravity Forms"},"advanced-custom-fields-pro\/acf.php":{"Name":"Advanced Custom Fields PRO","PluginURI":"https:\/\/www.advancedcustomfields.com","Version":"5.11.4","Author":"Delicious Brains","AuthorURI":"https:\/\/www.advancedcustomfields.com","TextDomain":"acf","DomainPath":"\/lang","Network":false,"RequiresWP":"","RequiresPHP":"","UpdateURI":"","Title":"Advanced Custom Fields PRO","AuthorName":"Delicious Brains"},"cred-frontend-editor\/plugin.php":{"Name":"Toolset Forms","PluginURI":"https:\/\/toolset.com\/home\/toolset-components\/?utm_source=plugin\u0026utm_medium=gui\u0026utm_campaign=forms#forms","Version":"2.6.12","Author":"OnTheGoSystems","AuthorURI":"http:\/\/www.onthegosystems.com\/","TextDomain":"cred-frontend-editor","DomainPath":"","Network":false,"RequiresWP":"","RequiresPHP":"","UpdateURI":"","Title":"Toolset Forms","AuthorName":"OnTheGoSystems"},"post-duplicator\/m4c-postduplicator.php":{"Name":"Post Duplicator","PluginURI":"","Version":"2.23","Author":"Metaphor Creations","AuthorURI":"http:\/\/www.metaphorcreations.com","TextDomain":"post-duplicator","DomainPath":"","Network":false,"RequiresWP":"","RequiresPHP":"","UpdateURI":"","Title":"Post Duplicator","AuthorName":"Metaphor Creations"},"relevanssi\/relevanssi.php":{"Name":"Relevanssi","PluginURI":"https:\/\/www.relevanssi.com\/","Version":"4.14.4","Author":"Mikko Saari","AuthorURI":"http:\/\/www.mikkosaari.fi\/","TextDomain":"relevanssi","DomainPath":"","Network":false,"RequiresWP":"","RequiresPHP":"","UpdateURI":"","Title":"Relevanssi","AuthorName":"Mikko Saari"},"toolset-blocks\/wp-views.php":{"Name":"Toolset Blocks","PluginURI":"https:\/\/toolset.com\/?utm_source=viewsplugin\u0026utm_campaign=views\u0026utm_medium=plugins-list-full-version\u0026utm_term=Visit plugin site","Version":"1.6.1","Author":"OnTheGoSystems","AuthorURI":"https:\/\/toolset.com","TextDomain":"toolset-blocks","DomainPath":"","Network":false,"RequiresWP":"","RequiresPHP":"","UpdateURI":"","Title":"Toolset Blocks","AuthorName":"OnTheGoSystems"},"toolset-maps\/toolset-maps-loader.php":{"Name":"Toolset Maps","PluginURI":"https:\/\/toolset.com\/documentation\/user-guides\/display-on-google-maps\/","Version":"2.0.11","Author":"OnTheGoSystems","AuthorURI":"http:\/\/www.onthegosystems.com","TextDomain":"toolset-maps","DomainPath":"\/languages","Network":false,"RequiresWP":"3.4","RequiresPHP":"5.6","UpdateURI":"","Title":"Toolset Maps","AuthorName":"OnTheGoSystems"},"types\/wpcf.php":{"Name":"Toolset Types","PluginURI":"https:\/\/toolset.com\/?utm_source=typesplugin\u0026utm_campaign=types\u0026utm_medium=plugins-list-full-version\u0026utm_term=Visit plugin site","Version":"3.4.14","Author":"OnTheGoSystems","AuthorURI":"http:\/\/www.onthegosystems.com","TextDomain":"types","DomainPath":"","Network":false,"RequiresWP":"","RequiresPHP":"","UpdateURI":"","Title":"Toolset Types","AuthorName":"OnTheGoSystems"},"wordpress-importer\/wordpress-importer.php":{"Name":"WordPress Importer","PluginURI":"https:\/\/wordpress.org\/plugins\/wordpress-importer\/","Version":"0.7","Author":"wordpressdotorg","AuthorURI":"https:\/\/wordpress.org\/","TextDomain":"wordpress-importer","DomainPath":"","Network":false,"RequiresWP":"","RequiresPHP":"","UpdateURI":"","Title":"WordPress Importer","AuthorName":"wordpressdotorg"},"wordpress-seo\/wp-seo.php":{"Name":"Yoast SEO","PluginURI":"https:\/\/yoa.st\/1uj","Version":"17.7.1","Author":"Team Yoast","AuthorURI":"https:\/\/yoa.st\/1uk","TextDomain":"wordpress-seo","DomainPath":"\/languages\/","Network":false,"RequiresWP":"5.6","RequiresPHP":"5.6.20","UpdateURI":"","Title":"Yoast SEO","AuthorName":"Team Yoast"}},"mu_plugins":{"disable-xmlrpc.php":{"Name":"Disable XMLRPC","PluginURI":"","Version":"1.0","Description":"Disables XMLRPC","Author":"Juicy Media","AuthorURI":"https:\/\/juicy.media","TextDomain":"","DomainPath":"","Network":false,"RequiresWP":"","RequiresPHP":"","UpdateURI":"","Title":"Disable XMLRPC","AuthorName":"Juicy Media"},"debug-hide-deprecated.php":{"Name":"Ignore Deprecated Debug Notices","PluginURI":"","Version":"1.0","Description":"Ignores PHP Deprecated notices when WP_DEBUG is enabled","Author":"Juicy Media","AuthorURI":"https:\/\/juicy.media","TextDomain":"","DomainPath":"","Network":false,"RequiresWP":"","RequiresPHP":"","UpdateURI":"","Title":"Ignore Deprecated Debug Notices","AuthorName":"Juicy Media"}},"dropins":{"advanced-cache.php":{"Name":"advanced-cache.php","PluginURI":"","Version":"","Description":"","Author":"","AuthorURI":"","TextDomain":"","DomainPath":"","Network":false,"RequiresWP":"","RequiresPHP":"","UpdateURI":"","Title":"","AuthorName":""}}},"theme":{"Name":"Twenty Twenty-One","ThemeURI":null,"Author":"\u003Ca href=\u0022https:\/\/wordpress.org\/\u0022\u003Ethe WordPress team\u003C\/a\u003E","AuthorURI":null,"Template":"twentytwentyone","Version":"1.4","TextDomain":null,"DomainPath":null},"extra-debug":{"types":{"add_resized_images_to_library":0,"images_remote":0,"images_remote_cache_time":"36","help_box":"by_types","hide_standard_custom_fields_metabox":"show","postmeta_unfiltered_html":"on","usermeta_unfiltered_html":"on"},"CRED":{"wizard":1,"cache_notice":1,"export_settings":1,"export_custom_fields":1,"autogeneration_email":{"subject":"Welcome new user","body":"[username]Your username is: %cuf_username%[\/username]\\n[nickname]Your nickname is: %cuf_nickname%[\/nickname]\\n[password]Your password is: %cuf_password%[\/password]"},"dont_load_cred_css":1},"views":{"views_template_loop_blog":0,"wpv_bootstrap_version":1,"wpv_custom_conditional_functions":[],"wpv_custom_inner_shortcodes":[],"wpv_debug_mode":"","wpv_debug_mode_type":"compact","wpv_map_plugin":0,"wpv_show_hidden_fields":"","wpv_saved_auto_detected_framework":"","wpv_codemirror_autoresize":"","wpv_enable_pagination_manage_history":true,"wpv_enable_parametric_search_manage_history":true,"support_spaces_in_meta_filters":0,"allow_views_wp_widgets_in_elementor":0,"default_user_editor":"gutenberg","default_wpa_editor":"gutenberg","manage_meta_transient_method":"cron","editing_experience":"blocks","views_template_conditions_for_nurseries":[],"view_taxonomy_loop_nursery-location":0,"view_cpt_nurseries":0},"installer":{"version":"2.6.1","repositories":{"wpml":{"api-url":"https:\/\/api.wpml.org\/","bucket-url":"not assigned","subscription":"","last-successful-subscription-fetch":"none"},"toolset":{"api-url":"https:\/\/api.toolset.com\/","bucket-url":"https:\/\/wptypes.s3.amazonaws.com\/toolset-bucket-98.json","subscription":{"key":"CPOQUgWM4C","data":{"subscription_type":7527,"expires":"2022-12-01","status":"1","notes":""},"registered_by":1,"site_url":"https:\/\/thrive-childcare.test"},"last-successful-subscription-fetch":"2021-12-08 09:40:18"}},"instances":{"\/Users\/jpodda\/Documents\/Sites\/thrive-childcare\/wordpress\/public\/wp-content\/plugins\/types\/vendor\/otgs\/installer\/installer.php":{"bootfile":"\/Users\/jpodda\/Documents\/Sites\/thrive-childcare\/wordpress\/public\/wp-content\/plugins\/types\/vendor\/otgs\/installer\/installer.php","version":"2.6.1","args":{"plugins_install_tab":"1","repositories_include":["toolset","wpml"],"site_key_nags":[{"repository_id":"toolset","product_name":"Toolset"}]},"delegated":true}}}}}

#2240557

Minesh won't be available for a couple of days, if you don't mind, I'll continue with you on this ticket.

I am currently at Morocco and my ISP is Maroc Telecom or IAM(Itissalat Al Maghrib). However, I would not have a static IP, and we may need help from another person of the team. Instead of providing access to each one of the team at a time, I suggest to migrate your website into our platform and we can work on it there. I created a new installation and I'll ask you to follow the steps on my private reply() in order to migrate the website.

Reply back here when the migration is complete and let us know what view/archive template is concerned.

#2243393

Good Morning Jamal,

Thank you for the reply.

I have started the transfer as per you message, and I will confirm once complete.

Thanks,

#2243437

Hi Jamal,

We are having issues exporting to Cloudways, not entirely sure why but it keeps failing mid transfer.

Thanks,

#2243511

Hello again! Can you share a Duplicator package of your website through DropBox or Gdrive? If yes, please use Duplicator to exclude the uploads and cache folders, this will reduce the size of the package. Share a download link in your next private reply.

If Duplicator fails, please try All In One Migration and exclude the media files from the library.

If none of the above works, share the credentials to your website and I'll check it there. Your next reply will be private to let you share the download link or credentials safely. According to hidden link, my ISP is MarocTelecomASDL. Check this screenshot hidden link

#2244153

Thank you for the copy. I built it locally, and I was able to edit the referred page, and to create a WordPress archive for the Nurseries CPT. Before being able to work on the copy, I had to deactivate the mu-plugins, and the WordPress SEO plugin, but I do not think that's something important for this issue.

So, I checked again the provided debug information and I noticed this time that you are using PHP8. Unfortunately, Toolset does not support PHP 8 yet. We have an ongoing project to support it, but it is not complete yet.
https://toolset.com/toolset-requirements

Can you please downgrade PHP version to PHP 7, and check if these issues are still reproducible?

#2246759

Hi Jamal,

Thank you for investigating this for us.

Unfortunately we cannot downgrade PHP to the specified version, this means the plugin will be of no use.

Can we cancel out order, and a refund be put through.

Thanks,

#2248963

Hello,

It seems that your subscription is still within our 30 days refund policy. You can ask for it here https://wpml.org/purchase/refunds/

Let me know if there is anything else I can do for you, and all the best for your project.