Assalamualaikum brother,
It seems an issue with your windows apache (xampp) setup.
Please try it on a server, it will work as it never happen to anyone before.
I’m getting a similar error after updating from 1.9 i believe
Warning: require_once(__DIR__/../Views/DailyTimetablePrinter.php) [function.require-once]: failed to open stream: No such file or directory in /home/content/z/a/i/z******/html/wp-content/plugins/daily-prayer-time-for-mosques/Models/DailyTimeTable.php on line 3
Fatal error: require_once() [function.require]: Failed opening required ‘__DIR__/../Views/DailyTimetablePrinter.php’ (include_path=’.:/usr/local/php5/lib/php’) in /home/content/z/a/i/z*******/html/wp-content/plugins/daily-prayer-time-for-mosques/Models/DailyTimeTable.php on line 3
Brother,
did you try it on a web server or your local machine?
i’m trying it on the server. Unable to open it on the local machine.
its happening when i click the activate button on the plugin.
i played around with it a little bit and it looks like the issue is with the calling to the timetableprinter file
Error-
Plugin could not be activated because it triggered a fatal error.
Parse error: syntax error, unexpected T_FOR in /home/content/z/a/i/zainabia/html/wp-content/plugins/daily-prayer-time-for-mosques/Models/DailyTimeTable.php on line 3
Code-
<?php
require_once(‘db.php’);
require_once(home/content/z/a/i/zainabia/html/wp-content/plugins/daily-prayer-time-for-mosques/Views/DailyTimetablePrinter.php);