kender
Forum Replies Created
-
@rapidetech i have nothing to do with the plugin, i just found the fix and posted it for those who can… i can suggest if you have a working version do not update until next version comes out (hopefully that will fix it permanently) or disable the plugin to view orders — outside of paid help you are pretty much stuck
Replace the beginning of
create_box_content()with:public function create_box_content( $post ) { $order = null; if ( $post instanceof WC_Order ) { $order = $post; } elseif ( $post instanceof WP_Post ) { $order = wc_get_order( $post->ID ); } elseif ( is_numeric( $post ) ) { $order = wc_get_order( absint( $post ) ); } if ( ! $order instanceof WC_Order || $order instanceof WC_Order_Refund ) { return; } $order_id = $order->get_id();Forum: Plugins
In reply to: [Print Invoice & Delivery Notes for WooCommerce] Fatal errora more complete fix here (redundancies and checks added)
Replace the beginning of
create_box_content()with:public function create_box_content( $post ) { $order = null; if ( $post instanceof WC_Order ) { $order = $post; } elseif ( $post instanceof WP_Post ) { $order = wc_get_order( $post->ID ); } elseif ( is_numeric( $post ) ) { $order = wc_get_order( absint( $post ) ); } if ( ! $order instanceof WC_Order || $order instanceof WC_Order_Refund ) { return; } $order_id = $order->get_id();Replace the beginning of
create_box_content()with:public function create_box_content( $post ) { $order = null; if ( $post instanceof WC_Order ) { $order = $post; } elseif ( $post instanceof WP_Post ) { $order = wc_get_order( $post->ID ); } elseif ( is_numeric( $post ) ) { $order = wc_get_order( absint( $post ) ); } if ( ! $order instanceof WC_Order || $order instanceof WC_Order_Refund ) { return; } $order_id = $order->get_id();Forum: Plugins
In reply to: [Send PDF for Contact Form 7] Fatal Error after updatingon this file
> wp-content/plugins/send-pdf-for-contact-form-7/classes/generate.php
change around line 381 from this// On va chercher les noms personnalisé
$meta_tagsname = get_post_meta(esc_html($idForm), '_wp_cf7pdf_customtagsname', true);
// Construction de l'entete
if( isset($meta_fields) ) {to this
// On va chercher les noms personnalisé
$meta_tagsname = get_post_meta(esc_html($idForm), '_wp_cf7pdf_customtagsname', true);
// SAFETY FIX: ensure it's always an array
if (!is_array($meta_tagsname)) { $meta_tagsname = []; }
// Construction de l'entete
if( isset($meta_fields) ) {that will make it work, hopefully the developer gets on this
I am aware, if you see my message I knew i was out of date and mentioned I would be updating to see if the message goes away. what i was doing was giving details on the only security flaw i was aware of (as the OP did not)
Also, the update notification never showed in my admin backend, so it is possible that happened for others as well
from Wordfence
- Plugin Name: Forminator
- Current Plugin Version: 1.46.2 (wordpress install is not telling me there is an update available, i will manually update to current version and see if the notice corrects)
- Details: To protect your site from this vulnerability, the safest option is to deactivate and completely remove “Forminator” until a patched version is available. Get more information.
- Vulnerability Information: https://www.wordfence.com/threat-intel/vulnerabilities/id/2b28ddeb-44f5-4d19-b866-94fc2088ee6d?source=plugin
- Vulnerability Severity: 5.3/10.0 (Medium)
- This reply was modified 2 months, 2 weeks ago by kender.
Forum: Plugins
In reply to: [PDF Forms Filler for CF7] Convert CF7 Multiple to CSVI was able to do this with this code block
// convert cf7 multi to csv for email
add_filter('wpcf7_posted_data', function($data) {
// List the CF7 field names you want to convert
$fields_to_csv = [
'field-name', // for [select states id:states multi "options"] - enter 'states'
];
foreach ($fields_to_csv as $field) {
if (!empty($data[$field]) && is_array($data[$field])) {
$data[$field] = implode(', ', $data[$field]);
}
}
return $data;
});Forum: Plugins
In reply to: [MailRoute - Conditional Email Routing For Contact Form 7] Cannot save formit does save after disabling only this plugin (I am having the same issue)
it looks like the problem exists on forms that the conditional routing is not set on. so if it is not enabled and you have no options selected on the conditional routing tab there is a required field that is not filled in and it prevents the form from submitting, because it is behind a different tab the user is not notified about the required field (the if drop-down field)
Forum: Plugins
In reply to: [GiveWP - Donation Plugin and Fundraising Platform] Block Spam attemptsthanks for the info, I will pass it along to the relevant people
Forum: Plugins
In reply to: [Save as PDF Plugin by PDFCrowd] pdfcrowd-remove not removing from outputApologies. when testing after moving to live it worked, I ran more tests and discovered it was caching issue in the beta environment, once I purged the cache it seemed to work as desired. Thank you for your rapid responses and attention to detail.
Forum: Plugins
In reply to: [Save as PDF Plugin by PDFCrowd] pdfcrowd-remove not removing from outputif you provide an email i can use for support, i will set up a page on the live site for you to review
can we get an update on when this fix will be made?
done
Submitted your support form