Forum Replies Created
-
AuthorPosts
-
May 3, 2017 at 3:53 am in reply to: Post Status set to publish when click Save Draft on Macs only #8069
brightestsparkParticipantThis reply has been marked as private.April 27, 2017 at 9:24 pm in reply to: Post Status set to publish when click Save Draft on Macs only #8016
brightestsparkParticipantThat’s correct Jason.
April 27, 2017 at 9:50 am in reply to: Post Status set to publish when click Save Draft on Macs only #8005
brightestsparkParticipantYep I did that – issue still occurs on our live site with fresh install of Piklist0.9.9.13. I changed php back to 5.6 (from 7.0) and can now save draft on Mac+Safari so it’s a php 7 issue for Mac+Safari. Mac+Chrome is fine with php 7.0.
April 27, 2017 at 3:20 am in reply to: Post Status set to publish when click Save Draft on Macs only #7999
brightestsparkParticipantUpdate – Macbook editors claim Safari is still publishing when they click save draft on our live site. I tested on Chrome on Macbook and that saves draft correctly. I again tested just now on Safari on Macbook and can confirm it does still publish when you click save draft. Any ideas? Is there another redundant file/directory that we need to remove. Is it PHP7?
April 26, 2017 at 11:01 pm in reply to: Post Status set to publish when click Save Draft on Macs only #7998
brightestsparkParticipantOk – I worked out that because I uploaded the Release Candidate version over the current version, the /wp-content/plugins/piklist/parts/meta-boxes directory was still there (though it was removed in 0.9.9.13). That’s why the submitdiv was having issues.
I removed the /meta-boxes directory and then tested on Macbook and can see Publish title and save draft on staging site and live site. So problem solved with version 0.9.9.13.
Cheers
JenApril 26, 2017 at 10:04 pm in reply to: Post Status set to publish when click Save Draft on Macs only #7997
brightestsparkParticipantI installed Debug bar and see the following warning and notices when I click Add Post. Tested on both our theme and Twenty Sixteen theme.
April 26, 2017 at 9:40 pm in reply to: Post Status set to publish when click Save Draft on Macs only #7996
brightestsparkParticipantI just deactivated all plugins on the staging site except Piklist which has the RC 0.9.9.13 version and switched to Twenty Sixteen theme and the Publish Meta box title is still missing. I enabled debug and could see this error when I clicked Add Post:
Notice: Undefined index: order in /var/www/familiesmagazine/staging-site/wp-content/plugins/piklist/includes/class-piklist.php on line 2311 Notice: Undefined index: order in /var/www/familiesmagazine/staging-site/wp-content/plugins/piklist/includes/class-piklist.php on line 2311
It’s this line of the function below:
$b['args']['order'] = is_numeric($b['args']['order']) ? $b['args']['order'] : 0;/** * sort_by_args_order * Sort an array by the args|order key. * * @param array $a First array. * @param array $b Second array. * * @return bool Status of comparison. * * @access public * @static * @since 1.0 */ public static function sort_by_args_order($a, $b) { if (!isset($a['args']['order']) && !isset($b['args']['order'])) { return 0; } $a['args']['order'] = is_numeric($a['args']['order']) ? $a['args']['order'] : 0; $b['args']['order'] = is_numeric($b['args']['order']) ? $b['args']['order'] : 0; return $a['args']['order'] - $b['args']['order']; }April 26, 2017 at 9:25 pm in reply to: Post Status set to publish when click Save Draft on Macs only #7995
brightestsparkParticipantThis reply has been marked as private.April 25, 2017 at 11:45 pm in reply to: Post Status set to publish when click Save Draft on Macs only #7990
brightestsparkParticipantThis reply has been marked as private.April 25, 2017 at 9:15 pm in reply to: Post Status set to publish when click Save Draft on Macs only #7988
brightestsparkParticipantAlso – the “Publish” metabox title is missing on staging or displaying as ‘submitdiv’ on production on both PC and Mac, desktop and iPad on RC 0.9.9.13
And we updated from 0.9.9.9 to 0.9.9.12 on 7 April so something in those releases has triggered the Mac save issue.
April 25, 2017 at 7:50 pm in reply to: Post Status set to publish when click Save Draft on Macs only #7987
brightestsparkParticipantHi all
Just to be clear, the Publish Meta box title only changed on the Release Candidate 0.9.9.13 version on both sites. I rolled back to 0.9.9.12 and it was fine.
But the Save Draft issue (where it publishes instead of saving to draft on Macs), occurs on 0.9.9.12 on Mac OS (tested Macbook) and iOS (tested on iPad) on BOTH our staging site and production site – a fresh clone of production was created to debug.
When I updated to the RC 0.9.9.13, I could Save Draft on our staging site (tested on iPad), but not on our production site.
I have checked the theme and can confirm we are not extending the submit metabox at all. The site was built by another developer and as far as I can see in the functions.php and /themes/ourtheme/piklist directory he used piklist to create a bunch of custom post types and their meta boxes in the theme and also a custom meta for posts to “feature this post”. There is also a piklist validation rule override in the functions.php – set up to enable URLs to contain special characters for UTM tracking urls (which fail the default URL validation).
Any ideas why Macs are misbehaving since 0.9.9.12?
I have rolled back to 0.9.9.12 on our production site.April 24, 2017 at 11:23 pm in reply to: Post Status set to publish when click Save Draft on Macs only #7976
brightestsparkParticipantOk update: tested the RC on our staging site and it worked but not on our live/production site.
On our staging site, the title of the ‘Publish’ meta box is not visible.
On our production site it has changed to ‘submitdiv’ refer http://imgur.com/a/Zl09zDifference between both sites
- Staging – php 5.6.30, CGI/FastCGI – no cloudflare
- Production – php 7.0.18, Litespeed – Litespeed cache active, cloudflare CDN/WAF – I did deploy and test with Cloudflare in Development mode to bypass cache.
April 24, 2017 at 10:51 pm in reply to: Post Status set to publish when click Save Draft on Macs only #7975
brightestsparkParticipantHey Steve – installed the RC and issue is resolved! Thanks 🙂
-
AuthorPosts