rotaract/rotaract-appointments

Fatal error when trying to activate plugin

sunilgknair051 opened this issue · 5 comments

Hallo, wir sind der Rotaract Club Clausthal-Zellerfeld, mein Vorgänger hatte sich lange Zeit nicht für ein Hosting durch rotaract entschieden und ich als Webmaster bin diesem Beispiel gefolgt und wir hosten privat. Ich versuche gerade ein paar Dinge in unsere WordPress Seite einzubauen und als ich versucht habe das Termin-Plugin einzubauen, bekomme ich diesen Fehler.

Parse error: syntax error, unexpected 'Rotaract_Appointments_Loader' (T_STRING), expecting function (T_FUNCTION) or const (T_CONST) in /home/rotaract/public_html/wp/wp-content/plugins/rotaract-appointments/includes/class-rotaract-appointments.php on line 39

Kann mir das jemand erklären?

Hi Sunil,

would you mind telling me: how did you install the plugin in your WordPress instance?
The plugin works only when you use the pre-build ZIP file.

Hi Benno,
I just downloaded the zip from the repo and uploaded it on our WordPress plugin site and installed it successfully. But, when I click on activate the plugin, I get this error.

Which PHP are you using?

7.2.34
Well, I did try to find the cause and used a PHP compatibility checker. This version could be an issue. :(

lol, well... it seems this version is EOL since end of 2020. Highly recommend upgrading to an active supported version (8.0 or higher).
We cannot (and will not, for obvious reasons) provide support for EOL PHP versions and will therefore close this issue.
Despite, I will contact you privately due to some challenges you will run into at some point.