Forum Replies Created
-
AuthorPosts
-
September 25, 2019 at 6:18 PM in reply to: PHP Notice: unserialize(): Error when editing post with metaboxes #16284
[email protected]
ParticipantWe're using https://github.com/pressjitsu/pj-object-cache-red and there were no issues with it so far. Decided to let you know.
[email protected]
ParticipantWe got issues even with simpliest metaboxes, like this one
[ 'name' => 'Пользователь', 'id' => 'user_id', 'type' => 'user', 'ajax' => false, ],it works only with ajax => false, With ajax enabled no user is found and there is error in console https://monosnap.com/file/J5md2FE1OMBzNqDI2jvle8Vp2c1QGd
[email protected]
ParticipantThanks a lot!
Check your latest release please, I can't understand why but ajax fields aren't working. We get 400 error as response for them, and all is fine with 'ajax' => false,February 24, 2019 at 4:29 AM in reply to: ✅No custom post fields for Authors and Editors with Guttenberg #13451[email protected]
ParticipantThat did the trick!
Everything's working fine now, thank youFebruary 22, 2019 at 7:10 PM in reply to: ✅No custom post fields for Authors and Editors with Guttenberg #13440[email protected]
ParticipantHi Anh!
Thanks for the quick reply, unfortunately it did not help.
After a lengthy search, it turned out that the user had strange meta in the user_meta table.
Like 'closedpostboxes_post','metaboxhidden_post','meta-boxorder_event', 'closedpostboxes_event', 'metaboxhidden_event', 'meta-box-order_post'
Am delete it and now everything work fine
mb you know what is?February 22, 2019 at 3:53 PM in reply to: ✅No custom post fields for Authors and Editors with Guttenberg #13432[email protected]
ParticipantI thought so too, but it only appears for Administrator roles after refreshing the page. Authors, Editors, etc - everybody else can't see it. That is strange but it is so.
By the way - any ideas how to make fields appear at once, without refreshing the page? It was like that with classic editor. You choose a category and new fields appear.
February 22, 2019 at 1:42 PM in reply to: ✅No custom post fields for Authors and Editors with Guttenberg #13428[email protected]
ParticipantHi!
We use this code to display fields[ 'title' => 'Поля обзоров матчей', 'post_types' => 'post', 'include' => array ( 'category' => [ self::$category_id ], ), 'fields' => [ [ 'name' => 'Состав команды 1', 'type' => 'WYSIWYG', 'id' => 'team_1_players', 'options' => [ 'textarea_rows' => 4, 'teeny'=> true,'media_buttons' => false, 'raw' => false,], ], [ 'name' => 'Состав команды 2', 'type' => 'WYSIWYG', 'id' => 'team_2_players', 'options' => [ 'textarea_rows' => 4, 'teeny' => true, 'media_buttons' => false, 'raw' => false,] ], [ 'name' => 'Прогноз на матч', 'type' => 'WYSIWYG', 'id' => 'game_result_tip', 'options' => [ 'textarea_rows' => 5, 'teeny' => true, 'media_buttons' => false, 'raw' => false,] ], [ 'name' => 'Матч', 'type' => 'post', 'id' => 'event_id', 'post_type' => 'event', ], ], ] -
AuthorPosts