- This topic has 24 replies, 4 voices, and was last updated 3 years, 7 months ago by
Steve.
-
AuthorPosts
-
-
April 10, 2018 at 7:05 am #8821
nnovosadParticipantHello.
I updated the plugin according to the instructions – https://piklist.com/support/topic/9-9-data-update-script-not-triggered/#post-8808
My code for the field./* Title: Images Post Type: service Lock: true Order: 15 */ piklist('field', array( 'type' => 'file', 'field' => 'services_images', 'label' => __('Upload or choose an images', 'vts'), 'columns' => 12, 'options' => array( 'modal_title' => __('Add File', 'vts'), 'button' => __('Add', 'vts') ), 'attributes' => array( 'data-multiple' => 'true', ) ));I select several pictures but after saving only one last picture remains.
Also after the update, this output of the image does not work<?php echo wp_get_attachment_url($item['img'][0]); ?>
Works like this –<?php echo wp_get_attachment_url($item['img']); ?> -
April 10, 2018 at 9:55 pm #8824
SteveKeymasterDid the update script run? Were there any errors?
-
April 11, 2018 at 6:24 am #8826
nnovosadParticipantI updated as follows:
1) deactivate and delete Piklist
2) open your database. In the wp_options table, look for this field: piklist_active_plugin_versions
3) Delete that field
4) Install 0.9.4 and activate. piklist_active_plugin_versions should come back to your db.
5) Upgrade to 0.9.9.15There were no errors during the update.
-
-
April 11, 2018 at 12:19 pm #8827
SteveKeymasterPlease try deleting the
services_imagesfield in your database, and see if that works. -
April 13, 2018 at 9:06 am #8831
Web GuyMemberWe have the same “Only one image is saved” issue here, but it’s still there after downgrading Piklist.
Our client updated their Piklist plugin.
When they attempt to add images, any existing images disappear and only the last one they attempt to add gets saved.
We reverted to piklist.0.9.4.31 but the “only one image” issue remains.We use basically the same code for two fields that have the issue:
piklist('field', array( 'type' => 'file' ,'field' => '_thumbnail_id' ,'scope' => 'post_meta' ,'label' => __('Click the checkmark to delete an image.','products') ,'options' => array( 'title' => 'Add image(s)' ,'button' => 'Add image(s)' ) )); piklist('field', array( 'type' => 'file' ,'field' => 'bmi_upload_media' ,'scope' => 'post_meta' ,'label' => __('Add \'In The News\' Images','products') ,'options' => array( 'modal_title' => __('Add File(s)','products') ,'button' => __('Add','products') ) ));Please LMK if you need further information.
-
April 13, 2018 at 10:09 am #8832
SteveKeymasterIf you try a NEW post, can you save multiple items?
-
April 13, 2018 at 10:29 am #8833
Web GuyMemberNo, I can select multiple images, but when I Save, only the last selected image is saved.
-
April 13, 2018 at 11:45 am #8834
SteveKeymasterPlease try our latest beta. I just tested with your code and it worked fine:
https://github.com/piklist/piklist/releases -
April 13, 2018 at 4:28 pm #8838
SteveKeymasterSorry about that. We just release v0.9.9.16 which should fix the issue.
-
April 17, 2018 at 8:47 pm #8851
Web GuyMemberSteve, I just went into my admin and see we are now running v0.9.9.16. Looks like it fixed the single image issue.
However, I’m wondering how we got v0.9.9.16 because I was hiding Piklist from the client to prevent them accidentally updating before I had time to run the script and troubleshoot.
Did v0.9.9.15 update itself to v0.9.9.16?
-
April 17, 2018 at 8:56 pm #8852
Web GuyMemberAlso I’m still seeing this message: “The data structure for Piklist Add-More and Workflow tabs have changed in this version and require an update.”
If v0.9.9.16 does the upgrade script, should that message still appear?
And if we’re good to go, how do I get rid of the message?
Sorry for my confusion… too many spinning plates at the moment!
-
May 7, 2018 at 5:51 pm #8915
cdcoreyMemberI’m having this problem under Piklist 0.9.9.17… Any ideas?
-
May 7, 2018 at 9:33 pm #8916
Web GuyMemberMe too. This issue is back again in 0.9.9.17.
-
May 7, 2018 at 9:33 pm #8917
Web GuyMemberMe too. This issue is back again in 0.9.9.17.
-
May 7, 2018 at 10:00 pm #8918
SteveKeymasterPlease try our latest Beta will is due to be released soon. It should solve your issues:
https://github.com/piklist/piklist/releases/tag/0.10-beta.5 -
May 9, 2018 at 3:29 pm #8929
Web GuyMemberI saw the 10.0 release in my plugin page and updated.
The update bricked the site with a white page server error.
Fortunately I kept a copy of 9.9.17, and even though it’s broken, I was at least able to get the site to load.
Thoughts?
-
May 9, 2018 at 4:33 pm #8930
-
May 9, 2018 at 9:02 pm #8931
Web GuyMemberNothin on screen but this is all over the DEBUG_LOG:
[10-May-2018 00:45:51 UTC] PHP Fatal error: Call to undefined function is_user_logged_in() in /home3/bigmouthinc/public_html/wp-content/mu-plugins/endurance-page-cache.php on line 370
[10-May-2018 00:45:52 UTC] PHP Fatal error: Can’t use function return value in write context in /home3/bigmouthinc/public_html/wp-content/plugins/piklist/includes/class-piklist.php on line 2715 -
May 10, 2018 at 12:30 am #8933
SteveKeymasterLooks like you’re running on older version of PHP. You probably want to have your webhost upgrade that since WordPress is recommending PHP 7.2.
In the meantime, we just released v0.11 which supports PHPv5.3+ and should fix your issue.
-
May 10, 2018 at 10:40 am #8938
cdcoreyMemberFYI upgrading to the beta did resolve the issue for me. Thanks.
-
May 10, 2018 at 7:05 pm #8945
SteveKeymasterGreat!
-
May 10, 2018 at 9:06 pm #8947
Web GuyMemberSteve, we’re good as well with 0.11. Thanks for the quick responses!
-
May 18, 2018 at 9:24 am #8995
Web GuyMemberSteve, now that we have 0.11.1, should I still be seeing the “IMPORTANT MESSAGE FROM PIKLIST” notice on the Plugins page? I assume not, so How can I disable it?
-
June 19, 2018 at 6:51 pm #9062
Web GuyMemberSteve, we’re running 11.4 and still seeing the box “IMPORTANT MESSAGE FROM PIKLIST…”
Is it still relevant?
We’re not using any Add-More or Workflow tabs.
-
June 20, 2018 at 11:01 am #9064
SteveKeymasterIf you upgraded from a version older than 0.9.9, then you get the message. Run the upgrade and you will be all set.
-
-
AuthorPosts
- You must be logged in to reply to this topic.