Helper - Call to undefined function |
It's not very clear in the documentation, but when you create a new helper, the filename must have the '_helper' suffix: https://codeigniter4.github.io/userguide...g-a-helper
So rename your file to build_page_helper.php and it should work. To load the file, you don't need the suffix, so keep this line as is: PHP Code: helper('build_page'); |
Messages In This Thread |
Helper - Call to undefined function - by sjender - 10-16-2020, 03:09 AM
RE: Helper - Call to undefined function - by includebeer - 10-16-2020, 04:33 AM
RE: Helper - Call to undefined function - by InsiteFX - 10-16-2020, 01:11 PM
RE: Helper - Call to undefined function - by Corsari - 02-28-2021, 12:21 PM
RE: Helper - Call to undefined function - by includebeer - 02-28-2021, 12:38 PM
RE: Helper - Call to undefined function - by Corsari - 02-28-2021, 12:45 PM
RE: Helper - Call to undefined function - by daveontheciforum - 03-01-2021, 02:28 AM
RE: Helper - Call to undefined function - by Corsari - 03-01-2021, 09:33 AM
|