Bug doesn't allow plugin to activate


Just installing this on a new server and it gives this error:

Plugin could not be activated because it triggered a fatal error.
Fatal error: Cannot unset $this in /home/mandysac/public_html/wp-content/plugins/easyreservations/lib/classes/reservation.class.php on line 2775

If I comment out this code on lines 2773-2777:
public function destroy(){


It will activate, but the main EasyReservations Dashboard is blank…it has “Reservations Dashboard. Add New” and nothing else.


Please try to only comment out unset($this) as missing a function can cause errors. Seems to be a PHP 7.1 issue. Please report if it helps.

No it does not resolve the issue, I had tried that also. The plugin can/is activated with either the whole function or the single line commented out, but does not display the main Dashboard reservations.

Please send me admin and FTP access to support@easyreservations.org so I can have a look at it.

You must be logged in to reply in this thread.

Not Resolved
4 posts