Skip Navigation

[Resolved] After I updated to "wordpress version 5.4–de_DE" CRED Commerce does have error

This support ticket is created 4 years, 7 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.

Our next available supporter will start replying to tickets in about 3.87 hours from now. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10: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/Kolkata (GMT+05:30)

Tagged: 

This topic contains 43 replies, has 3 voices.

Last updated by Lara 4 years, 6 months ago.

Assisted by: Minesh.

Author
Posts
#1571157

Tell us what you are trying to do?
I updated my wordpress page to "wordpress version 5.4–de_DE" and know CRED / CRED commerce doesn't redirect the customer to the checkout page of woocommerce. I use this CRED to register customer, so it's really a problem.

Is there any documentation that you are following?
No.

Is there a similar example that we can see?
It performed very well before I updated to "wordpress version 5.4–de_DE"

What is the link to your site?
hidden link

#1571609

Hello,

The problem you mentioned above is abnormal, please check these:
1) Make sure you are using the latest version of Toolset plugins, you can download them here:
https://toolset.com/account/downloads/

2) In case it is a compatibility problem, please deactivate all other plugins, and switch to wordpress default theme 2020, deactivate all custom PHP/JS code snippets, and test again

3) Also check if there is any PHP/JS error in your website:
https://toolset.com/documentation/programmer-reference/debugging-sites-built-with-toolset/

4) If the problem still persists, please provide a copy of your website(You can put the duplicator package files in your own google drive disk, and share the link), also point out the problem page URL, I need to test and debug it in my localhost, thanks
https://toolset.com/faq/provide-supporters-copy-site/

#1572337

Hello,

I believe you a very talented and capable person. I am however not a full-fledged programmer. I tried to investigate the problem today and I discovered, that not only this form has a problem, but also other forms as well. Post forms, relationship forms and links to delete relationships. If I could solve the problem myself, I would, but I can't.

1) Make sure you are using the latest version of Toolset plugins, you can download them here:
Yes I have the latest version of all Toolset plugins installed.

2) In case it is a compatibility problem, please deactivate all other plugins, and switch to wordpress default theme 2020, deactivate all custom PHP/JS code snippets, and test again.
Unfortunatelly, if I deactivate all plugins despite Toolset, then the whole website looses so much functionality, that I no longer can test the forms. Another problem is that some things still work, as long as I am logged in as an administrator, but they stop working as soon as I log in with a different account as a customer. I am pretty sure, that the was no problem, before I updated to the newest WordPress Version, because I tested the page an hour before I updated and everthing worked perfectly. Futhermore the website should go life tomorrow and the person I created it for stresses me out a lot. To sum up the whole situation is a nightmare.

3) Also check if there is any PHP/JS error in your website:
https://toolset.com/documentation/programmer-reference/debugging-sites-built-with-toolset/
I am truely sorry, but this is beyond my capabilities.

4) If the problem still persists, please provide a copy of your website(You can put the duplicator package files in your own google drive disk, and share the link), also point out the problem page URL, I need to test and debug it in my localhost, thanks
https://toolset.com/faq/provide-supporters-copy-site/
I can't create a package with duplicator. It seems as my host blocks it somehow. However VaultPress makes a backup of the entire website everyday. Probably this helps?

I am truely sad, that I couldn't do all the tasks you asked me for. If you feel like you can't solve my problem like this, I hope you could forward it to another supporter.

Kind regards
Lara

#1573251

Minesh
Supporter

Languages: English (English )

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

Luo is having a day off today. He will get back to work on the coming Monday and reply to you as soon as possible.

#1573511

Thanks Minesh.

#1574569

The problem is not resolved, however I didn't stop digging until I found a workaround for every problem, that occured. I wish everyone more luck with the update to "wordpress version 5.4–de_DE", than I had.

#1574679

Unfortunately since the wordpress-update the CRED Commerce seems to have a compatibility issue with the "Jetpack by WordPress.com" plugin. I use the plugin against brute force attacks. However with the plugin activated the customer will sometimes not be forwarded to the checkout page. This is the last remaining problem. All other problems are solved.

#1575171

As you mentioned above, it is a compatibility issue with "Jetpack by WordPress.com", according to our workflow, we need to get the detail steps to reproduce the problem in a fresh WordPress installation.

I suggest you try these:
1) Get the PHP debug logs, you can also ask help from your server provider to get the PHP debug logs.
https://toolset.com/documentation/programmer-reference/debugging-sites-built-with-toolset/
If you need assistance to get the PHP debug logs, please provide a test site with the same problem, fill below private message box with the test site login details and FTP access, also point out the problem page URL

2) Since you can not use Duplicator plugin in your website, you can also provide your website Database dump file using mysql tools, for example, phpmyadmin.
I need to test it in my localhost.

#1575357

Many thanks Luo for your answer.
A work colleague will help me to collect all the things you asked for in the late afternoon today and I will provide it for as soon as possible.

#1576271

Hi Luo,
I have now everything you need. Please could you let me write a private message again.
Many thanks.

#1576441

I have enabled the private message box again, you can put the files in your own google drivie disk, and share the link

#1578141

Thanks for the details, I am checking it, will update here if there is anything found

#1578199
test-customer.JPG

I have tried below steps in your website:
1) Edit file wp-config.php, add below lines 72~74:

ini_set('log_errors',TRUE);
ini_set('error_reporting', E_ALL);
ini_set('error_log', dirname(__FILE__) . '/error_log.txt');

See our document:
https://toolset.com/documentation/programmer-reference/debugging-sites-built-with-toolset/
section "PHP Debugging"

2) Login as admin user luoyang@cute****.de:
a) Upgrade the "Jetpack by WordPress.com" to the latest version 8.4.1
b) create a new customer user "test-customer"

3) Open a new incognito window, login as user "test-customer":
hidden link

4) Open URL:
hidden link
click button "Registrieren", fill and submit the form, it works fine, it redirect me to checkout page:
hidden link
See screenshot test-customer.JPG

5) Deactivate/Activate the Jetpack plugin again, but this plugin requires to setup the credentials again, since I don't have your credentials, so I have tested step 3) and 4) again, it works fine, it redirect me to checkout page correctly.

Can you setup the Jetpack credentials again? in case the problem still persists.

6) And there are some PHP errors in your website, you can get them in the website root folder, file "error_log.txt", for example:

WordPress database error Table 'db823585745.EVzgcaJiblc_links' doesn't exist for query 
				SELECT COUNT(*)
				FROM (
					SELECT 0

					FROM
						EVzgcaJiblc_links AS links
						JOIN EVzgcaJiblc_instances AS instances ON links.link_id = instances.link_id

					WHERE
							( instances.parser_type IN ('link', 'image', 'youtube-iframe', 'metadata', 'url_field', 'acf') ) AND
	( instances.container_type IN ('comment', 'post', 'page', 'dummy') ) AND
	( ( broken = 1 ) ) AND
	( (dismissed = 0) ) 

				   GROUP BY links.link_id) AS foo made by require_once('wp-admin/admin.php'), require('wp-admin/menu.php'), require_once('wp-admin/includes/menu.php'), do_action('admin_menu'), WP_Hook->do_action, WP_Hook->apply_filters, wsBrokenLinkChecker->admin_menu, blcLinkQuery->get_filter_links, blcLinkQuery->get_links

The table ***_links is WordPress built-in database table, see document:
https://codex.wordpress.org/Database_Description#Table:_wp_links
And I don't find it in your database dump file:
hidden link

You might need to check them in your website databases

7) And you are using outdated Mysql server:
hidden link
section "Outdated SQL server", I suggest you try to upgrade the mysql server to 5.6 or above.

#1578361

Many thanks for your work Luo. Is there a way, that I can get rid of the PHP errors? I will notify one of my work collegues to take care of the outdated Mysql server and read the error_log.txt.

#1578387

I have checked the PHP debug logs of your website again, the problem seems to be from your theme "generatepress", for example:

von require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/themes/generatepress/page.php'), get_template_part, locate_template, load_template, require('/themes/generatepress/content-page.php'), the_content, apply_filters('the_content'), WP_Hook->apply_filters, blcPostTypeOverlord->hook_the_content

you can try to switch to WordPress default theme 2020 and test again.