Installation Error

Skip to first unread message

Shiva Shankar Mahato

May 6, 2021, 7:47:16 AM5/6/21
to SubjectsPlus
Hi All,

I am new to Subjectplus and facing issue with installation in Ubuntu 20 and PHP 8.0. 

Screen freezes after I am selecting Install.

error.log contains : [Thu May 06 14:23:20.854188 2021] [php:error] [pid 1888] [client ::1:39726] PHP Fatal error:  Uncaught Error: Call to undefined function get_magic_quotes_gpc() in /var/www/html/subjectplus/control/includes/functions.php:499\nStack trace:\n#0 /var/www/html/subjectplus/lib/SubjectsPlus/Control/Installer.php(30): scrubData()\n#1 /var/www/html/subjectplus/control/install.php(143): SubjectsPlus\\Control\\Installer->__construct()\n#2 {main}\n  thrown in /var/www/html/subjectplus/control/includes/functions.php on line 499, referer: http://localhost/subjectplus/control/install.php

Screenshot Attached.

Can someone guide me on this? 
Screenshot from 2021-05-06 14-39-17.png

May 6, 2021, 3:04:55 PM5/6/21
to SubjectsPlus

As of now, unfortunately, SubjectsPlus doesn't support PHP 8. We are in the process of refactoring SubjectsPlus to work with PHP 7.4. get_magic_quotes_gpc()  has been deprecated as of 7.4. It would be great if you could create a branch and factor out the offending functions. If not, I totally understand, but I cannot give you a firm timeline as to when SP will be compatible with PHP 8.

Jason Boyer

May 7, 2021, 8:42:07 AM5/7/21
Hi Shiva, 4.5.2 needs some patches to work properly on PHP7+ (I’m not certain it has been tested with 8 at all yet) To get past the get_magic_quotes_gpc error you need to at least apply this pull request branch from their GitHub:


Jason Boyer
Senior System Administrator
Equinox Open Library Initiative
+1 (877) Open-ILS (673-6457)

You received this message because you are subscribed to the Google Groups "SubjectsPlus" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To view this discussion on the web visit
<Screenshot from 2021-05-06 14-39-17.png>

Reply all
Reply to author
0 new messages