voceconnect / eventbrite-event

GNU General Public License v2.0
1 stars 1 forks source link

Handle incompatible PHP versions gracefully #4

Open csloisel opened 9 years ago

csloisel commented 9 years ago

If installed and activated on a WordPress instance running on PHP 5.2, the theme throws a fatal error and prevents access to the admin area.

See: https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-when-installing-eventbrite-event-122

We should probably be checking the version on activation or initialization and prevent a fatal error being thrown. Alternatively we make the theme compatible with 5.2 but that would be a more elaborate task and may not be feasible in the short-term.