UNCAUGHT_EXCEPTION: Call to undefined function uber_file_get_contents
4 posts by 2 authors in: Forums > CMS Builder
Last Post: February 28, 2020 (RSS)
Hi Interactive Tools
I am trying to update the version of CMSB to see if it helps with some time out issues on our site. I have upgraded to PHP 7.4, however, when I go to upgrade the CMSB, particularly the LIB folder upload, I am getting an error message of
#1777 - UNCAUGHT_EXCEPTION: Call to undefined function uber_file_get_contents()
/home/prpr3209/public_html/cmsAdmin/lib/menus/admin/general.php (line 662)
https://www.prolegis.com.au/cmsAdmin/admin.php?menu=admin&action=general
Any ideas what's causing this?
Thankss
By robin - February 27, 2020
Hi degreesnorth,
The uber_file_get_contents() function is in:
/lib/file_functions.php
That error makes me suspect that the file_functions.php file didn't properly copy your server. I'd try re-copying the lib folder from the CMSB install to your server.
Hope that helps!
Robin
Programmer
interactivetools.com
Thanks Robin. I downloaded it again and reinstalled it, and it worked on the 2nd time.
However, I am getting this error message in the logs:
#2158 - E_NOTICE: Trying to access array offset on value of type bool
/home/prpr3209/public_html/cmsAdmin/lib/menus/header_functions.php (line 167)
https://www.prolegis.com.au/cmsAdmin/admin.php
By robin - February 28, 2020
Hi degreesnorth,
I'm surprised about that error since line 167 in header_functions.php is not code, it's a comment. That file may have uploaded incorrectly like your previous problem. Please upload that file again and see if it resolves. If the problem persists please fill out a second level support request with your CMS/FTP details (https://www.interactivetools.com/support/request/) and we'll take a look at what's going on.
Thanks,
Robin
Programmer
interactivetools.com