Error When Activate Advance Security - User Id

Hi,

When activate the advance security - user id i’m getting a fatal error accessing list page in table where i’m activating the security.

This is the error “Error: Call to undefined method PHPMaker2020\EmpleosProject\accesos::getUserIDFilter() in C:\wamp64\www\empleos\phpfn.php on line 7616”

You may go to the Security tab, check if the User ID field for the table “accesos” is set, save the settings and generate all files again.

I already did the verification and the User Id field is configured for the mentioned table. Anything else I can verify

Cannot simulate, make sure that you have the latest version and template:

  • Download again from PHPMaker web site
  • Uninstall old version, reinstall again
  • Click Tools → Update Template
  • Delete all files/folders in the destination folder and regenerate all files and folders

I got the same error too.
I have download the new phpmaker file again and delete the template and download again.
also delete the exported folder and re-generated all file again.

but I got the same error
Fatal error: Uncaught Error: Call to undefined method PHPMaker2020\Pass_v2020_0\client::getUserIDFilter() in C:\wamp\www\pass\phpfn.php on line 7766

But when I keep the User ID Field to disabled fromthe Security->Advanced->User ID
then it is working

The problem is due to that the User ID Field for that table is missing, so you need to double check your User ID Security settings:

arbei wrote:

go to the Security tab, check if the User ID field for the table is set, save the settings and generate all files again.

“User ID field” not only means the User ID field at the top, but also the User ID field for the user table.

Everything Exactly the same. Checked several times, and problem persist.

The field in the user table is the ID. This goes at the top of the configuration.
In the table row of security configuration, there is the field for each table that stores the user ID number for each record (iduser).
Fields of the same type, size. I tried everything. And it doesn’t work.

Cannot reproduce. Make sure the User ID field of the USER TABLE is set. SAVE the setting first. If you are a registered user, you can also send your project files to support, read: https://phpmaker.dev/support.php.

Click on “Tools” → “Delete Template Cache”, re-generate ALL the script files, and try again.