The FOSSBilling Forum
PrinsFrank error...? - Printable Version

+- The FOSSBilling Forum (https://forum.fossbilling.org)
+-- Forum: Support (https://forum.fossbilling.org/forum-7.html)
+--- Forum: Support - Bugs & Errors (https://forum.fossbilling.org/forum-10.html)
+--- Thread: PrinsFrank error...? (/thread-426.html)



PrinsFrank error...? - NightStorm - 09-24-2025

An error has occurred.

Instance ID: c6459b4c-f3da-4803-8b57-2c07bcc02dfc Error Code: #0 Component: Generic
Code:

Call to undefined function PrinsFrank\Standards\Country\locale_get_display_region()

Latest Preview Build. Am I missing a step or setting? Likely... but I also can't find anything about it on Google, so this is my fallback.


RE: PrinsFrank error...? - BelleNottelling - 09-25-2025

Hey there,

I'm not able to replicate this. Is it on a specific page or when triggering a specific action?

Thanks!


RE: PrinsFrank error...? - NightStorm - 09-26-2025

Trying to view the admin panel. Can't get past that point. It also returns the same error when trying to view the homepage (the /public that fossbilling redirects to off index).
When I grep "locale_get_display_region" in the prinsfrank directory, it returns it in vendor/prinsfrank/standards/src/Country/CountryAlpha2.php, so that library seems to be complete enough... I don't know how the file is called as a function though, other than in composers autoload_static.php... but this is all someone else's code (not mine), so I don't want to go poking around too deep and get lost. The odd thing is, is that it was working for a short time before the error popped up and stopped me dead. I wasn't in the process of entering any data in, or anything... just tried opening the admin page, and wham. Full size error.


RE: PrinsFrank error...? - BelleNottelling - 09-26-2025

If you delete everything under the "data/cache/" directory, does it start working again?


RE: PrinsFrank error...? - NightStorm - 09-26-2025

Unfortunately not, but thanks for responding. Upon deleting every file and folder inside data/cache/, and reloading the page from a different browser (to avoid client-side cache), the server recreates 1 empty folder and 1 file, but the error is still there. The file (classMap.php) appears to be a pretty substantial list of other php files... probably more than you want me to paste in here.

[hostcanadian@server public_html]# ls -l data/cache/*
-rw-r--r-- 1 hostcanadian hostcanadian 32762 Sep 25 23:23 data/cache/classMap.php

data/cache/sf_cache:
total 0