oeco / jeo

A WordPress parent theme for interactive maps and journalism
http://jeowp.org/
Other
90 stars 33 forks source link

Initializing $jeo in PHP 7 #87

Open cheeseone opened 5 years ago

cheeseone commented 5 years ago

Hi I am seeing this error in version 1.0.7 and PHP 7.1 and 7.2

Fatal error: Uncaught Error: Call to a member function get_options() on null in inc/core.php line 731

It is to do with version?

Thanks

cheeseone commented 5 years ago

As a quick hack, I changed it to

$jeo = new JEO(100);