Forum

Ask, reply and learn. Join the community of Akaunting.

New Discussion

Contructor failed - 500 server error

Björn   ( User )

Commented 2 years ago

Had a detailed explanation typed out, but apparently one can't have more than 60 characters in the title and.. here we are.

So the short version:

#1 - There's something funky with the code that checks the PHP version. Eventually got going with these (not sure which one/s are the right ones) PHP_PATH, PHP_CLI_VERSION, PHPPATH. Doesn't look like these suggestions from GitHub work: APP_PHP_PATH, APP_PHP_CLI_VERSION.

#2 - After trying installing both from git repo and zip package, keep running into these 500 server errors:

--
Constructor failed (View: /resources/views/common/dashboards/show.blade.php)
/vendor/akaunting/laravel-money/src/Money.php#594
--

LOG.warning: Return type of Balping\JsonRaw\Raw::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /vendor/balping/json-raw-encoder/src/Raw.php on line 5
LOG.emergency: Unable to create configured logger. Using emergency logger. {"exception":{}}
LOG.warning: explode(): Passing null to parameter #2 ($string) of type string is deprecated in /app/Traits/SearchString.php on line 25

Please let me know if i might be missing a step somewhere?

Akaunting Version 3.0.6
PHP 8.1.10
MySQL 10.2.44-MariaDB
Memory Limit 1024M
Execution Time 60
PHP OS Linux
PHP SAPI cgi-fcgi
PHP Extensions [ ## also tried with FPM nginx and apache ##
0 => "Core"
1 => "date"
2 => "libxml"
3 => "openssl"
4 => "pcre"
5 => "zlib"
6 => "bz2"
7 => "calendar"
8 => "ctype"
9 => "hash"
10 => "filter"
11 => "ftp"
12 => "gettext"
13 => "gmp"
14 => "json"
15 => "iconv"
16 => "SPL"
17 => "pcntl"
18 => "readline"
19 => "Reflection"
20 => "session"
21 => "standard"
22 => "mbstring"
23 => "SimpleXML"
24 => "sockets"
25 => "tokenizer"
26 => "xml"
27 => "cgi-fcgi"
28 => "mysqlnd"
29 => "bcmath"
30 => "curl"
31 => "dba"
32 => "dom"
33 => "enchant"
34 => "fileinfo"
35 => "gd"
36 => "imagick"
37 => "imap"
38 => "intl"
39 => "ldap"
40 => "exif"
41 => "mysqli"
42 => "odbc"
43 => "PDO"
44 => "pdo_mysql"
45 => "PDO_ODBC"
46 => "pdo_pgsql"
47 => "pdo_sqlite"
48 => "pgsql"
49 => "Phar"
50 => "posix"
51 => "pspell"
52 => "redis"
53 => "soap"
54 => "sodium"
55 => "sqlite3"
56 => "sysvmsg"
57 => "sysvsem"
58 => "sysvshm"
59 => "tidy"
60 => "xmlreader"
61 => "xmlwriter"
62 => "xsl"
63 => "zip"
64 => "Zend OPcache"
]

Please login or register to leave a response.

Showing 1 to 1 of 1 discussions