- This topic has 1 reply, 2 voices, and was last updated 7 years, 1 month ago by .
Viewing 1 reply thread
Viewing 1 reply thread
- You must be logged in to reply to this topic.
Home › Forums › Mikmag 3.0 › Warning after translate the theme
Tagged: translate
Hi,
After send the .PO and .MO files trhough FTP to translate the theme, the following message is appearing in the top of site: “Warning: in_array() expects parameter 2 to be array, null given in /home/flightmania/webapps/ROOT/wp-content/themes/mikmag/tdframework/theme-functions.php on line 118”
This are the lines 117 – 121:
foreach ($theme_load_fonts as $font) {
if (!in_array($font,$prev_font) && in_array($font, $core_fonts[“Google fonts”])) {
array_push( $prev_font, $font );
}
}
It’s attached the .PO file that i used.
Hi semxa,
Thank you for your heads up, were as we speak working on MIkmag 4.0 and I have added MO/PO issue to the list. I’m hoping that were ready in the next couple of days and release the update. But as were also adding new features, I don’t have an exact eta.
You will get an email via TF if the update is ready for download,
thanks Mike