ibelar / atk-wordpress-sample

Wordpress plugin done using atk-wordpress integration for Agile Toolkit framework.
2 stars 2 forks source link

errors since atk4/ui 1.4 #1

Open roelleor opened 6 years ago

roelleor commented 6 years ago

Hi Alain,

Since atk4/ui 1.4 the EventPanel is not working anymore. Editing or saving a crud item results in Error in ajaxec response. Instead of loading the edit item, the code is shown in the modal window, see image.

2018-01-30_12-31-39

Besides that (and possibly related) a warning is thrown: Warning: Declaration of atkwp\AtkWpApp::url($page = Array, $hasRequestUri = false) should be compatible with atk4\ui\App::url($page = Array, $needRequestUri = false, $extra_args = Array) in wp-content/plugins/atk-wordpress-sample/vendor/ibelar/atk-wordpress/src/AtkWpApp.php on line 26

ibelar commented 6 years ago

Just release atk-wordpress v1.2.0 that fix compatibility issue with Atk\UI v1.4.

https://github.com/ibelar/atk-wordpress/releases/tag/1.2.0

roelleor commented 6 years ago

awesome, thanks!

On 30 Jan 2018, at 20:12, Alain Belair notifications@github.com wrote:

Just release atk-wordpress v1.2.0 that fix compatibility issue with Atk\UI v1.4.

https://github.com/ibelar/atk-wordpress/releases/tag/1.2.0 <x-msg://3/url> — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ibelar/atk-wordpress-sample/issues/1#issuecomment-361701901, or mute the thread https://github.com/notifications/unsubscribe-auth/AC-MisUWq2nSKTPm6-CqnrTHSQC7qh9Zks5tP2mngaJpZM4RyLeO.