What other plugins and theme do you use on the site?
Thread Starter
cmdgw
(@cmdgw)
Advanced CF7 DB
Antispam Bee
Catch Breadcrumb
Classic Editor
Contact Form 7
Contact Form 7 Extension For Mailchimp
Cool Timeline
Duplicate Page
Elementor
Elementor Pro
Embed Calendly
Enable Media Replace
EWD Premium Helper
Frontend Checklist
GA Google Analytics
GP Premium
Inkasso Calculators
Manage Notification E-mails
MC4WP: Mailchimp for WordPress
Password Protected
Rank Math SEO
Really Simple SSL
Redirection for Contact Form 7
Simple Author Box
Site Kit by Google
Smush
Social Icons Widget & Block by WPZOOM
TablePress
Timeline Block
Timeline Widget For Elementor
Ultimate FAQ Accordion Plugin
Wordfence Security
WP Mail SMTP Pro
WPForms
Thread Starter
cmdgw
(@cmdgw)
Any update on this Takayuki?
Thread Starter
cmdgw
(@cmdgw)
GeneratePressVersion: 3.4.0 By Tom Usborne
Try switching to the default theme, deactivating all plugins excluding Contact Form 7, Classic Editor, Really Simple SSL, Site Kit by Google and Wordfence Security, and clearing all cache data.
Why you are advised to deactivate plugins and switch to the default theme.
Thread Starter
cmdgw
(@cmdgw)
Done as requested.
Now I get an “There was an error trying to send your message. Please try again later.”
(We can only do this on a staging site with different Domain Name, of course).
That’s good to know. So, which one was the source of the problem?
Thread Starter
cmdgw
(@cmdgw)
The error comes obviously because of the different domain name of the staging site from the SMTP Part. What I was trying to say is that it is still not working and until now I do not see much support from your side.
-
This reply was modified 1 year ago by
cmdgw.
Thread Starter
cmdgw
(@cmdgw)
FInally I did not disable any plugin just switched the theme from Generate Press to Twenty Twenty Four and with the theme switch it seems to work. As soon as I switch back to the GP Theme it does not. Nothing to do with any plugin, apparently. Any idea?
Thread Starter
cmdgw
(@cmdgw)
perhaps the latest log entries are of help, too:
PHP Warning: Undefined property: WPCF7_Submission::$id in /www/blabla/public/wp-content/themes/generatepress/functions.php on line 311
PHP Warning: Undefined array key “your-email” in /www/blabla/public/wp-content/themes/generatepress/functions.php on line 315
PHP Warning: Undefined array key “kreditor-name” in /www/blabla/public/wp-content/themes/generatepress/functions.php on line 316
Thread Starter
cmdgw
(@cmdgw)
Checked on the functions.php of the theme and the PHP Function looks like this:
add_action( ‘wpcf7_mail_sent’, function ( $cf7 ) {
$submission = WPCF7_Submission::get_instance();
$form_id = $submission->id;
if ($submission) {
$formdata = $submission->get_posted_data();
$email = $formdata['your-email'];
$name = $formdata['kreditor-name'];
if (!isset($_SESSION)) {
session_start();
}
$_SESSION['kreditor-name'] = "" . $name . PHP_EOL;
$_SESSION['kreditor-your-email'] = "" . $email . PHP_EOL;
}
});
GeneratePress is a commercial theme. We can’t help you on the theme here.
Do not post about commercial products
Thread Starter
cmdgw
(@cmdgw)
Takayuki, do not get me wrong but this is clearly related to your product and an incompatibility. You seem to be quite good at pointing at others regarding for support of your product but I do not see any help at all from you so far.