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.Dismiss alert
Hi! I wanted to connect this package to a project where the user id has the uuid data type. In the CreateFirewallLogsTable database migration class, I replaced: $table->integer('user_id')->nullable();
with $table->uiid('user_id')->nullable();.
However, when logging into the application as a registered user, I get an error:
"Cannot assign string to property Akaunting\Firewall\Abstracts\Middleware::$user_id of type ?int"
I tried to extend the abstract class Akaunting\Firewall\Abstracts\Middleware and redefine the public property $user_id in the trait Akaunting\Firewall\Traits\Helper. But I expectedly got a fatal error. Maybe this can be done using getters...
How do I get around this error to use the uuid data type? Is there a right way?
The text was updated successfully, but these errors were encountered:
Hi! I wanted to connect this package to a project where the user id has the uuid data type. In the CreateFirewallLogsTable database migration class, I replaced:
$table->integer('user_id')->nullable();
with
$table->uiid('user_id')->nullable();
.However, when logging into the application as a registered user, I get an error:
"Cannot assign string to property Akaunting\Firewall\Abstracts\Middleware::$user_id of type ?int"
I tried to extend the abstract class Akaunting\Firewall\Abstracts\Middleware and redefine the public property $user_id in the trait Akaunting\Firewall\Traits\Helper. But I expectedly got a fatal error. Maybe this can be done using getters...
How do I get around this error to use the uuid data type? Is there a right way?
The text was updated successfully, but these errors were encountered: