Hi,
Seems I encounter problems due to the same change, “breaking my head” looking for the source.
I have the below code that may need to be fixed:
function generate_pdf($contact_form) {
error_reporting(E_ALL);
$submission = WPCF7_Submission::get_instance();
if ($submission && !empty($_COOKIE[IDENTIFY_USER_COOKIE])) {
$posted_data = $submission->get_posted_data();
$uploadDir = wp_get_upload_dir();
if (!empty($posted_data[‘_wpcf7’]) && $posted_data[‘_wpcf7’] == 2816) {….
I’ll be happy to hear what you (@takayukister) advise as a solution.