mountbatt
Forum Replies Created
-
Forum: Plugins
In reply to: [Connect Polylang for Elementor] Warning: Undefined array key “name”Hi!
Thanks for your reply!
I checked theconnect-polylang-elementor.phpfile and renamedpolylangtopolylang-probut the error message still appears. If I removepolylangfrom theRequires Pluginspart, it works.I use Polylang Pro 3.7.3
PHP is 8.3.21
Forum: Plugins
In reply to: [Contact Form 7] Latest update 5.8add_filter( 'wpcf7_mail_html_body', 'my_wpcf7_html_autop', 10, 1 ); function my_wpcf7_html_autop( $body ) { $body = wpcf7_autop( $body ); return $body; }This works for me … autop means it should add paragraphs by itself to mail body …
Forum: Plugins
In reply to: [Contact Form 7] Latest update 5.8I am investing the new hook “wpcf7_mail_html_body” that got introduced in 5.8. Will get back to you in a few minutes …
Forum: Plugins
In reply to: [Contact Form 7] Latest update 5.8I have the same problem. The checkbox “Use HTML Content Type” is checked, but the Mail has no auto line-breaks / paragraphs. Is it now necessary to add p or br-Tags by ourself?
Forum: Plugins
In reply to: [Bootstrap for Contact Form 7] Broken since CF7 5.4I made a small fix to get it back to work with latest CF7. All input-fields need a <span> with class “wpcf7-form-control-wrap” around … so I added it like this: <span class=”wpcf7-form-control-wrap’ . $wrapper_class . $status . ‘”> in CF7BS_Form_Field.php. Thats all … now the fields get validated and the form submits.
I changed the version nr. to 1.4.9 – you can update this repo if you want … here is my zip: https://www.dropbox.com/s/xjn2jrjkh2de3a7/bootstrap-for-contact-form-7.zip?dl=0
Forum: Plugins
In reply to: [Bootstrap for Contact Form 7] Request for maintenanceHi @flixos90 , i made a small fix to get it back to work with latest CF7. All input-fields need a <span> with class “wpcf7-form-control-wrap” around … so I added it like this:
<span class="wpcf7-form-control-wrap' . $wrapper_class . $status . '">inCF7BS_Form_Field.php. Thats all … now the fields get validated and the form submits.I changed the version nr. to 1.4.9 – you can update this repo if you want … here is my zip: https://www.dropbox.com/s/xjn2jrjkh2de3a7/bootstrap-for-contact-form-7.zip?dl=0
Forum: Plugins
In reply to: [reGenerate Thumbnails Advanced] Cropped imagesForum: Plugins
In reply to: [reGenerate Thumbnails Advanced] Cropped imagesJust to make it clear: i mean images that are cropped in WordPress after upload.
https://www.dropbox.com/s/b1u7mhznbiltpsd/Bildschirmfoto%202021-06-02%20um%2010.53.46.png?dl=0
Okay, there are new names for the custom fields.
ppec_payment_detailsis nowwpec_order_dataOk, i think i am getting closer. I use a custom hook … will have a look at this. Maybe there is a conflict between the hook and the latest plugin version.
Correct code:
$role = get_role( 'editor' ); $role->add_cap( 'view_koko_analytics' );Simple fix in
src/class-admin.php:if ( function_exists( 'wp_set_script_translations' ) ) { wp_set_script_translations( 'koko-analytics-dashboard-widget', 'koko-analytics' ); }if ( function_exists( 'wp_set_script_translations' ) ) { wp_set_script_translations( 'koko-analytics-admin', 'koko-analytics' ); }The function
wp_set_script_translationsis new in WP 5.0. This is the error cause I use ClassicPress (based on WP 4.x). So your plugin does not support WordPress lower than 5.0 now! (There is 4.6 compatibility written on the plugins page)- This reply was modified 5 years, 10 months ago by mountbatt.
I found something:
If i uncomment line 37 in
src/class-admin.phpit works on dashboard! (Version 1.0.15)//wp_set_script_translations( 'koko-analytics-dashboard-widget', 'koko-analytics' );But not here:
wp-admin/index.php?page=koko-analytics
For this page i have to uncomment line 56 too.There is NO other “message” in error log.
In Debug Console i get:Failed to load resource: the server responded with a status of 500 (Internal Server Error)Wordpress Dashboard loads until this:
https://www.dropbox.com/s/8fcrjv520l4uhqd/Screenshot%202020-07-20%2019.48.27.png?dl=0