Salaam brother,
Are you trying to display jamah changes from ‘other settings’.
Can you activate to see what happens.
However I found the glitch and I will release a fix soon iA.
Jzk for this.
Mustafiz.
I hit update wordpress and included prayer time plugin as well – after that got white scress with above error – then i have to use filezila to delete the plugin to bring site up – Now even i downgraded to previous version , every time I try to activate plugin gets this error
Parse error: syntax error, unexpected ‘[‘ in /home/content/81/5037281/html/masjid_ibrahim/wp-content/plugins/daily-prayer-time-for-mosques/Views/TimetablePrinter.php on line 370
Salaam brother,
Can you send me your csv to mmrs151@gmail.com
jzk
Also,
if you are able to edit the file, can you update the block with this bit of code,
if (! empty($key) ){
$prayer = explode(‘_’, $key)[0];
$print .= “<span ” . $style . “>” . $this->sanitizedPrayerName($prayer) . “: ” . $this->formatDateForPrayer($time) . “</span>”;
}
i edited the code – but still getting same error while activating the plugin
Error:Plugin couldn’t be activated as it triggered a fatal error
”
Parse error: syntax error, unexpected ‘[‘ in /home/content/81/5037281/html/masjid_ibrahim/wp-content/plugins/daily-prayer-time-for-mosques/Views/TimetablePrinter.php on line 371″
foreach($row[‘jamah_changes’] as $key=>$time) {
if (! empty($key) ){
$prayer = explode(‘_’, $key)[0];
$print .= “<span ” . $style . “>” . $this-
>sanitizedPrayerName($prayer) . “: ” . $this-
>formatDateForPrayer($time) . “</span>”;
}
}
Hi
I have same issue when upgraded to 4.9.5,
“Parse error: syntax error, unexpected ‘[‘ in E:\HostingSpaces\xxxxx\jamiamasjidnoor.org\wwwroot\wp-content\plugins\daily-prayer-time-for-mosques1\Views\TimetablePrinter.php on line 377”
Any solution ?
thanks
Are you using plugin version 4.4.5
Hi
I pressed button in WordPress to update and this happened.
thanx
Nokhaz Akbar
My question was
Are you using my plugin version 4.4.5, i.e the latest
I was on older version pressed button to update to latest 4.4.5 (i think) then update crashed with that error message.
can you send me your csv to my email please, mmrs151@gmail.com
The csv that you have used for your site.
Salaam Nokhaz,
Is that ok for you to email me that?