You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.
I upgraded dot project to a newer version, I am not able to modify role giving below error Warning: count(): Parameter must be an array or an object that implements Countable in ./lib/phpgacl/gacl_api.class.php on line 849
All my images are not showing up, giving 403 error
Also getting below error
**Warning: Use of undefined constant LOCALE_FIRST_DAY - assumed 'LOCALE_FIRST_DAY' (this will throw an Error in a future version of PHP) in ./classes/date.class.php on line 10
**
#dotproject @dotproject-devops #dotprojectError
Please help
The text was updated successfully, but these errors were encountered:
replace the whole line with the following block of code:
if (!empty($AppUI->user_locale)) {
@include_once(DP_BASE_DIR.'/locales/'.$AppUI->user_locale.'/locales.php'); // LOCALE_FIRST_DAY gets defined here (gwyneth 20210419)
@include_once(DP_BASE_DIR.'/locales/core.php');
setlocale(LC_TIME, $AppUI->user_locale);
define('DATE_CALC_BEGIN_WEEKDAY', LOCALE_FIRST_DAY);
} else {
define('DATE_CALC_BEGIN_WEEKDAY', 1); // reasonable default
}
This won't fix everything, but at least those two warnings/errors will disappear; as for the images disappearing, have you tried out what I wrote on issue #157? Any luck?
I upgraded dot project to a newer version, I am not able to modify role giving below error
Warning: count(): Parameter must be an array or an object that implements Countable in ./lib/phpgacl/gacl_api.class.php on line 849
All my images are not showing up, giving 403 error
Also getting below error
**Warning: Use of undefined constant LOCALE_FIRST_DAY - assumed 'LOCALE_FIRST_DAY' (this will throw an Error in a future version of PHP) in ./classes/date.class.php on line 10
**
#dotproject @dotproject-devops #dotprojectError
Please help
The text was updated successfully, but these errors were encountered: