admin array and header error
-
I’m getting two errors in the wp admin that are relating to the cmb2 lib (which i LOVE, by the way). Here are the errors:
Notice: Array to string conversion in ../themes/patk_nickell/cmb2/includes/CMB2_Hookup.php on line 141
Warning: Cannot modify header information – headers already sent by (output started at ../themes/patk_nickell/cmb2/includes/CMB2_Hookup.php:141) in ../staging21.thestudio-patrick.com/public_html/wp-includes/functions.php on line 6270
I think it related to the file field type. Because on the page you can see this code above that file upload field input box:
Notice: Undefined offset: 1 in ../wp-content/themes/patk_nickell/cmb2/includes/types/CMB2_Type_File_Base.php on line 146
Notice: A non well formed numeric value encountered in ../wp-includes/media.php on line 445
Notice: Undefined offset: 1 in ../wp-content/themes/patk_nickell/cmb2/includes/CMB2_Utils.php on line 145
Notice: A non well formed numeric value encountered in ../wp-content/themes/patk_nickell/cmb2/includes/CMB2_Utils.php on line 152
Notice: Undefined offset: 1 in ../wp-content/themes/patk_nickell/cmb2/includes/CMB2_Utils.php on line 137
Notice: A non well formed numeric value encountered in ../public_html/wp-includes/media.php on line 445
Notice: Undefined offset: 1 in ../wp-content/themes/patk_nickell/cmb2/includes/CMB2_Utils.php on line 145
Notice: A non well formed numeric value encountered in ../wp-content/themes/patk_nickell/cmb2/includes/CMB2_Utils.php on line 152
Notice: Undefined offset: 1 in ../wp-content/themes/patk_nickell/cmb2/includes/CMB2_Utils.php on line 137
Notice: A non well formed numeric value encountered in ../public_html/wp-includes/media.php on line 445
Notice: Undefined offset: 1 in ../wp-content/themes/patk_nickell/cmb2/includes/CMB2_Utils.php on line 145
Notice: A non well formed numeric value encountered in ../wp-content/themes/patk_nickell/cmb2/includes/CMB2_Utils.php on line 152
Notice: Undefined offset: 1 in ../wp-content/themes/patk_nickell/cmb2/includes/CMB2_Utils.php on line 137
Notice: A non well formed numeric value encountered in ../public_html/wp-includes/media.php on line 445
Notice: Undefined offset: 1 in ../wp-content/themes/patk_nickell/cmb2/includes/CMB2_Utils.php on line 145
Notice: A non well formed numeric value encountered in ../wp-content/themes/patk_nickell/cmb2/includes/CMB2_Utils.php on line 152
Notice: Undefined offset: 1 in ../wp-content/themes/patk_nickell/cmb2/includes/CMB2_Utils.php on line 137
Notice: A non well formed numeric value encountered in ../public_html/wp-includes/media.php on line 445
Notice: Undefined offset: 1 in ../wp-content/themes/patk_nickell/cmb2/includes/CMB2_Utils.php on line 145
Notice: A non well formed numeric value encountered in ../wp-content/themes/patk_nickell/cmb2/includes/CMB2_Utils.php on line 152
Notice: Undefined offset: 1 in ../wp-content/themes/patk_nickell/cmb2/includes/CMB2_Utils.php on line 168
I searched all over stack overflow and your cmb2 documentation without any real success. I downloaded the lateset from github and set up the lib on WP 5.5.1 site on an Apache server with PHP 7.3.20 earlier today when i was updating some other scripts.
Can you offer any advice? I’ll be glad to share my code if you need to see that.
Thanks in advance!
- This topic was modified 4 years, 2 months ago by .
- This topic was modified 4 years, 2 months ago by .
- This topic was modified 4 years, 2 months ago by .
The page I need help with: [log in to see the link]
- The topic ‘admin array and header error’ is closed to new replies.