OblikStudio / kirby-link-field

Links field for Kirby.
MIT License
77 stars 10 forks source link

Cms\Page::panelPickerData() has been deprecated Error in Kirby 3.7.2 #58

Closed seehat closed 2 years ago

seehat commented 2 years ago

2 occurrences of $page->panelPickerData($settings); in index.php on line 110 and 120 need to be replaced with $page->panel()->pickerData($settings);

hdodov commented 2 years ago

Are you sure you've updated the plugin to the latest version (4.0.1)? I've already fixed exactly this issue in https://github.com/OblikStudio/kirby-link-field/commit/9de415b6156abfd68d6e037a79b0dbda2688d856.

In Kirby 3.7.3-rc.1, I see no errors.

seehat commented 2 years ago

Oh I am so sorry for bringing up this issue. I didn't get the newest major version. You are right.