Ques/Help InvalidArgumentException: Column 'user_id' is read only, can only be set with forceSet

A

AndBegin

Guest
Hello, when trying to add text to the database, an error occurs when saving.

Error:
InvalidArgumentException: Column 'user_id' is read only, can only be set with forceSet in src\XF\Mvc\Entity\Entity.php at line 612

My code:

HTML:

Code:
<?php

namespace LKSWDQW\WM\XF\Pub\Controller;

class Account extends XFCP_Account
{
    public function actionAccountDetails()
    {
        $parent = parent::actionAccountDetails();

        if ($this->isPost())
        {
            $wMessage =...

Read more

Continue reading...