Typo or misspelled filename causing error
-
There is a typo or a misspelled filename on line 44 of /includes/cmb/includes/helper-functions.php. I’m guessing it’s a misspelled filename since all of the other files in the directory use capitals except this one. The filename that is being called in the include statement is /includes/cmb/includes/CMB2_Hookup.php but the actual filename in the plugin is /includes/cmb/includes/CMB2_hookup.php with a lowercase h. This causes warnings in PHP 7. In PHP 8 this is a fatal error and the site stops working. I’m running WordPress 6.1, PHP 8.1.12, and version 3.7 of your plugin. After renaming the file so it has the capital h everything is fine.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Typo or misspelled filename causing error’ is closed to new replies.