• Hi I’m using a Custom Field of type “File”, and I have selected the option “Allow multiple instances of this field”, however it’s not working properly. I can add as many fields as I like but when I click Update to save the post I get serveral errors like those below.

    Any help is welcome!!!

    Warning: base64_encode() expects parameter 1 to be string, array given in /var/www/cybersoc.local/wp-content/plugins/types/embedded/includes/fields-post.php on line 1285 Call Stack: 0.0005 805608 1. {main}() /var/www/cybersoc.local/wp-admin/post.php:0 0.0009 932984 2. require_once(‘/var/www/cybersoc.local/wp-admin/admin.php’) /var/www/cybersoc.local/wp-admin/post.php:12 0.6432 88240528 3. do_action() /var/www/cybersoc.local/wp-admin/admin.php:215 0.6432 88242704 4. call_user_func_array() /var/www/cybersoc.local/wp-includes/plugin.php:406 0.6432 88242760 5. wpcf_admin_post_page_load_hook() /var/www/cybersoc.local/wp-includes/plugin.php:0 0.6479 89409456 6. wpcf_admin_post_init() /var/www/cybersoc.local/wp-content/plugins/types/embedded/admin.php:102 0.6744 91180160 7. wpcf_admin_post_process_fields() /var/www/cybersoc.local/wp-content/plugins/types/embedded/includes/fields-post.php:80 0.6827 91310232 8. wpcf_admin_post_process_field() /var/www/cybersoc.local/wp-content/plugins/types/embedded/includes/fields-post.php:499 0.6855 91341504 9. wpcf_admin_post_process_repetitive_field() /var/www/cybersoc.local/wp-content/plugins/types/embedded/includes/fields-post.php:736 0.6856 91344256 10. base64_encode() /var/www/cybersoc.local/wp-content/plugins/types/embedded/includes/fields-post.php:1285

    Warning: base64_encode() expects parameter 1 to be string, array given in /var/www/cybersoc.local/wp-content/plugins/types/embedded/includes/fields-post.php on line 1311 Call Stack: 0.0005 805608 1. {main}() /var/www/cybersoc.local/wp-admin/post.php:0 0.0009 932984 2. require_once(‘/var/www/cybersoc.local/wp-admin/admin.php’) /var/www/cybersoc.local/wp-admin/post.php:12 0.6432 88240528 3. do_action() /var/www/cybersoc.local/wp-admin/admin.php:215 0.6432 88242704 4. call_user_func_array() /var/www/cybersoc.local/wp-includes/plugin.php:406 0.6432 88242760 5. wpcf_admin_post_page_load_hook() /var/www/cybersoc.local/wp-includes/plugin.php:0 0.6479 89409456 6. wpcf_admin_post_init() /var/www/cybersoc.local/wp-content/plugins/types/embedded/admin.php:102 0.6744 91180160 7. wpcf_admin_post_process_fields() /var/www/cybersoc.local/wp-content/plugins/types/embedded/includes/fields-post.php:80 0.6860 91340320 8. wpcf_admin_post_process_field() /var/www/cybersoc.local/wp-content/plugins/types/embedded/includes/fields-post.php:499 0.6874 91354848 9. wpcf_admin_post_process_repetitive_field() /var/www/cybersoc.local/wp-content/plugins/types/embedded/includes/fields-post.php:736 0.6875 91359464 10. base64_encode() /var/www/cybersoc.local/wp-content/plugins/types/embedded/includes/fields-post.php:1311

    https://www.ads-software.com/extend/plugins/types/

Viewing 1 replies (of 1 total)
  • We’re working on improving repeater fields code.
    Added this to our queue and will post here soon about fix.
    Thanks

Viewing 1 replies (of 1 total)
  • The topic ‘Custom fields – Allow multiple instances of this field not working’ is closed to new replies.