• error message while installing plugin
    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

    The page I need help with: [log in to see the link]

Viewing 15 replies - 1 through 15 (of 17 total)
  • Plugin Author mmrs151

    (@mmrs151)

    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.

    Thread Starter mawais110

    (@mawais110)

    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

    Plugin Author mmrs151

    (@mmrs151)

    Salaam brother,

    Can you send me your csv to [email protected]

    jzk

    Plugin Author mmrs151

    (@mmrs151)

    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>”;
    }

    Thread Starter mawais110

    (@mawais110)

    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

    Plugin Author mmrs151

    (@mmrs151)

    Are you using plugin version 4.4.5

    Hi

    I pressed button in WordPress to update and this happened.

    thanx

    Nokhaz Akbar

    Plugin Author mmrs151

    (@mmrs151)

    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.

    Plugin Author mmrs151

    (@mmrs151)

    can you send me your csv to my email please, [email protected]

    How can I generate csv ?

    Plugin Author mmrs151

    (@mmrs151)

    The csv that you have used for your site.

    Hi Brother

    I’ve uploaded here
    https://1drv.ms/u/s!AlFnKU788L8RoyODbnNpP3JMg23R

    thanks

    Nokhaz

    Plugin Author mmrs151

    (@mmrs151)

    Salaam Nokhaz,

    Is that ok for you to email me that?

Viewing 15 replies - 1 through 15 (of 17 total)
  • The topic ‘getting error after wordpress upgrade wp4.9.5’ is closed to new replies.