Replies: 0
I asked this question over at CMB2 and they referred me here. In the WP Dashboard only, I’m getting the following warnings after updating Kiwi Social Share from v2.1.0 to v2.1.4. No customizations or forks are present with regards to this plugin.
Warning: include_once(/code/wp-content/plugins/kiwi-social-share/includes/lib/cmb2/includes/CMB2_Hookup.php): failed to open stream: No such file or directory in /code/wp-content/plugins/kiwi-social-share/includes/lib/cmb2/includes/helper-functions.php on line 44
Warning: include_once(): Failed opening '/code/wp-content/plugins/kiwi-social-share/includes/lib/cmb2/includes/CMB2_Hookup.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /code/wp-content/plugins/kiwi-social-share/includes/lib/cmb2/includes/helper-functions.php on line 44
Warning: call_user_func_array() expects parameter 1 to be a valid callback, class 'CMB2_Hookup' not found in /code/wp-includes/class-wp-hook.php on line 303
Warning: include_once(/code/wp-content/plugins/kiwi-social-share/includes/lib/cmb2/includes/CMB2_Hookup.php): failed to open stream: No such file or directory in /code/wp-content/plugins/kiwi-social-share/includes/lib/cmb2/includes/helper-functions.php on line 44
Warning: include_once(): Failed opening '/code/wp-content/plugins/kiwi-social-share/includes/lib/cmb2/includes/CMB2_Hookup.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /code/wp-content/plugins/kiwi-social-share/includes/lib/cmb2/includes/helper-functions.php on line 44
Warning: call_user_func_array() expects parameter 1 to be a valid callback, class 'CMB2_Hookup' not found in /code/wp-includes/class-wp-hook.php on line 303
Warning: include_once(/code/wp-content/plugins/kiwi-social-share/includes/lib/cmb2/includes/CMB2_Hookup.php): failed to open stream: No such file or directory in /code/wp-content/plugins/kiwi-social-share/includes/lib/cmb2/includes/helper-functions.php on line 44
Warning: include_once(): Failed opening '/code/wp-content/plugins/kiwi-social-share/includes/lib/cmb2/includes/CMB2_Hookup.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /code/wp-content/plugins/kiwi-social-share/includes/lib/cmb2/includes/helper-functions.php on line 44
Warning: call_user_func_array() expects parameter 1 to be a valid callback, class 'CMB2_Hookup' not found in /code/wp-includes/class-wp-hook.php on line 303
Warning: include_once(/code/wp-content/plugins/kiwi-social-share/includes/lib/cmb2/includes/CMB2_Hookup.php): failed to open stream: No such file or directory in /code/wp-content/plugins/kiwi-social-share/includes/lib/cmb2/includes/helper-functions.php on line 44
Warning: include_once(): Failed opening '/code/wp-content/plugins/kiwi-social-share/includes/lib/cmb2/includes/CMB2_Hookup.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /code/wp-content/plugins/kiwi-social-share/includes/lib/cmb2/includes/helper-functions.php on line 44
Warning: call_user_func_array() expects parameter 1 to be a valid callback, class 'CMB2_Hookup' not found in /code/wp-includes/class-wp-hook.php on line 303
I tried outputting the path names that line 44 is concatenating and here’s what I get:
Path is: includes/CMB2_Boxes.php
Path is: includes/CMB2_Utils.php
Path is: includes/CMB2_Field.php
Path is: includes/CMB2_JS.php
Path is: includes/CMB2_Hookup.php
Note that the file includes/CMB2_Hookup.php is actually named with a lower-case “h” in the filesystem and should be includes/CMB2_hookup.php.
Any idea how I can clear this error?