SQLSTATE[HY000] [2002] An attempt was made to access a socket in a way forbidden by its access permissions.
Fatal error: Uncaught Error: Call to a member function prepare() on null in C:\home\site\wwwroot\2019\acec\galarsvp\inc\database.class.php:36
Stack trace:
#0 C:\home\site\wwwroot\2019\acec\galarsvp\inc\popform.php(26): Database->query()
#1 C:\home\site\wwwroot\2019\acec\galarsvp\rsvp.php(13): popForm->formData()
#2 {main}
thrown in C:\home\site\wwwroot\2019\acec\galarsvp\inc\database.class.php on line 36