I found out why: the plugin tries to “phone home” to https://layered.market each time it loads and that URL is no longer working. Create an entry in /etc/hosts for this:
0.0.0.0 layered.market
It will start functioning properly again.
If you do not have access to your /etc/hosts you can comment out lines 340-353 and return NULL:
/**
if (isset($_REQUEST['if-menu-recheck-plan']) || false === ($plan = get_transient('if-menu-plan'))) {
$plan = false;
$request = wp_remote_get('https://layered.market/get-plan?site=' . urlencode(site_url()) . '&fo>
if (!is_wp_error($request)) {
$data = json_decode(wp_remote_retrieve_body($request), true);
if (isset($data['plans'])) {
$plan = $data['plans']['if-menu'];
set_transient('if-menu-plan', $plan, 500);
}
}
}
return $plan;
*/
return NULL;