It seems that since 2.3 we suddenly have this problem with multiple hooks that did not exist before.
If you don’t need the update hook for existing pages in the autoid plugin, you can try to simply remove that hook there. Then your update hook should work again.
Related topics:
There is something wrong with the javascript in the panel I think,
trying out some hooks and on page update, it just loads forever (extremly slow, localhost), but the
text file field is updated instantly… Just try it for yourself…
kirby()->hook('panel.page.update', function($page) {
try {
$page->update(array(
'hello' => "Please update me sir !!"
));
} catch(Exception $e) {
echo $e->getMessage();
}
});
i think i found it.
its caused if there are two or more hooks on the same type like ‘panel.page.update’. in my original case it was autoid and my hook. in my clean install it was revisions and my hook. once there is only one hook it works fine, both of them. i created a plugin from my config.php hook but same problem.
maybe @texnixe can verify this based on her old post ?