Home›Support›English Support›[Resolved] Warning: md5() expects parameter 1 to be string, array given in /var/www/walsted
[Resolved] Warning: md5() expects parameter 1 to be string, array given in /var/www/walsted
This thread is resolved. Here is a description of the problem and solution.
Problem: I've got warning with Striking MultiFlex theme
Warning: md5() expects parameter 1 to be string, array given in /var/www/walsteds.dk/public_html/wp-content/plugins/wpml-string-translation/classes/TranslateWpmlString.php on line 211
Solution:
A temporary fix to your theme to avoid the warning. In wp-content/themes/striking_r/framework/functions/common.php on line 78 I have changed the following
Warning: md5() expects parameter 1 to be string, array given in /var/www/walsteds.dk/public_html/wp-content/plugins/wpml-string-translation/classes/TranslateWpmlString.php on line 211
I need to request temporary access (wp-admin and FTP) to your site – preferably to a test site where the problem has been replicated if possible – in order to be of better help. You will find the needed fields for this below the comment area when you log in to leave your next reply. The information you will enter is private which means only you and I can see and have access to it.
If I need to further debug the problem, I’d like to ask you about a possibility to replicate your site locally. For this, I'll need to temporarily install a plugin called "Duplicator" on your site. This will allow me to create a copy of your site and your content. If you prefer to do it on your own, you can provide me with the snapshot and just send me the installer file and the zipped package you downloaded.
Thank you for the access details. I've checked the issue but I don't see an obvious reason for this to happen.
I’d like to ask you about the possibility to replicate your site locally. For this, I'll need to temporarily install a plugin called "Duplicator" on your site. This will allow me to create a copy of your site and your content. If you prefer to do it on your own, you can provide me with the snapshot and just send me the installer file and the zipped package you downloaded.
I have debugged this issue and it appears that's something that has to be fixed on the theme side. I will report about this to the compatibility team and they will report to the theme's author afterward.
In the meantime, I have added a temporary fix to your theme to avoid the warning. In wp-content/themes/striking_r/framework/functions/common.php on line 78 I have changed the following
We have the same problem again after updating the theme to latest version! Did you not report the issue to the theme developers - or did they not care to fix it?