plugin does not work below php version 5.3.2
Closed this issue · 1 comments
diplix commented
on a hosted envirnonment with PHP Version 5.2.17 there's no __DIR__
(http://stackoverflow.com/questions/7452708/dir-manipulation-dir-not-working) and if you substitute __DIR__
with dirname(__FILE__)
autoload_real.php aborts with a parse error.
composer requires PHP 5.3.2+, reclaim requires 5.2.4+ — i don't know if that's a too high or OK requirement. i guess it's OK.
anyways, we should prettify this error, so that the user doesn't get a
Fatal error: Class 'reclaim_module' not found in /homepages/24/xxx/wp-content/plugins/reclaim/mods/bookmarks.class.php on line 19
but a
reclaim social media requires that you run PHP ≥ 5.2.4. (you are using PHP 5.2.17)
diplix commented
added a warning. not very beautiful, but seems to work.