andreuerj
Forum Replies Created
-
Forum: Plugins
In reply to: [Contact Form 7] Translated .po and .mo files in WordPress directoriesThe mentioned directories and name files are correct.
The issue was due to language of the browsers, that were setup for english instead portuguese.
Since I changed to portuguese, the date field started to work as expected in portuguese, both placeholder and calendar.
So, the form “sees” the user’s browser language to render it.
After last update to WP 5.3.2, the error messages below are appearing at the top of the page:
Warning: preg_match() expects parameter 2 to be string, array given in /home/dir123/public_html/xpto.com.br/wp-includes/class-wp-block-parser.php on line 417
Warning: strlen() expects parameter 1 to be string, array given in /home/dir123/public_html/xpto.com.br/wp-includes/class-wp-block-parser.php on line 489
Forum: Fixing WordPress
In reply to: User e-mail confirmation about password changeWP sent an e-mail to the user in order to reset his password and “after resetting it”, it sent another e-mail confirming the password change. The user complained when he received 2nd saying that he did not do this. Since I did not have any feedback from WP yet, I answered the user to renew the password again and change it. So only him will not the new one.
WP team implemented this for a reason and they should have a reasonable explanation and suggestion to answer the users inquiry about this specific process.
Forum: Plugins
In reply to: [BCC Everything] Is the plugin compatible with WordPress (Version 4.9.4)?I could verify that is compatible with multisite and WordPress 4.9.4. Great plugin.
Forum: Plugins
In reply to: [BCC Everything] Is the plugin compatible with WordPress (Version 4.9.4)?Is it compatible with multisite?
The function split() was DEPRECATED in PHP 5.3.0, and REMOVED in PHP 7.0.0.
To fix the error, modify manually the function split() by explode() in /public_html/wp-content/plugins/user-domain-whitelist/user-domain-whitelist.php (lines #112 and #113).
FROM:
$validDomains = split( “\r\n”, $pluginOptions[‘domain_whitelist’] );
$invalidDomains = split( “\r\n”, $pluginOptions[‘domain_blacklist’] );TO:
$validDomains = explode( “\r\n”, $pluginOptions[‘domain_whitelist’] );
$invalidDomains = explode( “\r\n”, $pluginOptions[‘domain_blacklist’] );Forum: Fixing WordPress
In reply to: Adding www to the Domains of a Multisite NetworkI can access both www and non-www versions. I compared DNS records of two of my sites, one with www and this one that I converted to a www version, and both are similar. So, I don’t think it can be the reason.
I’ve undone things and I’ll try to ask my host provider once again.
Thanks a lot.
Forum: Fixing WordPress
In reply to: Adding www to the Domains of a Multisite NetworkBrowser receives an error HTTP 302 when calling admin multisite dashboard.
Forum: Fixing WordPress
In reply to: Adding www to the Domains of a Multisite NetworkI followed the instructions of the URL below:
Forum: Fixing WordPress
In reply to: Adding www to the Domains of a Multisite NetworkNo, I didn’t know anything about this.
It was not on the instructions.But, I have the CNAME record in my DNS.
www CNAME primarydomain.com.brI changed the code above and the warning message stopped appearing:
whatsapp-chat.php (On line 143)
From: wp_register_script(‘whatsapp-chat-admin-js’);
To: wp_register_script(‘whatsapp-chat-admin-js,’’);Please, double check and see what fits best.
Regards,
I checked that is really missing a parameter. Please, refer to “whatsapp-chat.php” and “functions.wp-scripts.php”.
whatsapp-chat.php
On line 132:
wp_register_script( ‘whatsapp-chat-index’, ”, true );On line 143:
wp_register_script(‘whatsapp-chat-admin-js’);
functions.wp-scripts.php
* @param string $handle Name of the script. Should be unique.
* @param string $src Full URL of the script, or path of the script relative to the WordPress root directory.
* @param array $deps Optional. An array of registered script handles this script depends on. Default empty array.function wp_register_script( $handle, $src, $deps = array(), $ver = false, $in_footer = false )
- This reply was modified 7 years, 5 months ago by andreuerj.
Hi Alexandre, I’ve already read the readme.txt.
The only part of it I couldn’t understand is:
This plugin uses function wp_is_mobile() to detect mobile. This can be conflictive with some strong mobile cache.
If you have some problem to open WhastsApp on mobile, please desable cache mobile or reject user agents {Android, Iphone, Ipad}And about the options you said me, I don’t have any cache plugin installed on my site and I was using a friend’s android phone to test the link. Using the link via browser on my desktop and via iPhone were everything ok, but on android things were different. I was not able to send the message without saving the #phone in the Contacts App. Since I didn’t mind to do this, I was not able to proceed and send the message at all. I expected to experience almost the exact same behavior.
I hope you understand my concerns.
Please, forget the second question. It was just a “comment”, because I couldn’t find the plugin when searching on “WP-admin->Plugins->Adicionar Plugin”. So, I’ve loaded the plugin uploading the .zip file.
About the first question, I don’t think I understood your answer. Can you confirm if wp-whatsapp-chat is compatible with WordPress Multi-Site version?
It’s the first time I install the plugin and I’m using the latest version.