How to instrument debug for specific warning

Talk about programming tricks and examples

Moderator: alexandrleonenko

rr22520
Newbie
Newbie
Posts: 3
Joined: Sep 28th, '20, 19:18

How to instrument debug for specific warning

Postby rr22520 » Oct 13th, '20, 02:04

I would like to get to the bottom of this warning I get:

Warnings:

1) Wrong parameter in [Fieldname]: Check this field carefully, it may be not a Primary Key!

I assume that it is not that common of a warning as I couldn't find any posts on it. If it is simple please advise, otherwise I would like to use the console_log() function, which I assume I could put at top of datagrid.php file. Where is this error generated?

Thanks!

administrator
Site Admin
Site Admin
Posts: 6195
Joined: Jan 7th, '09, 23:18
Contact:

Re: How to instrument debug for specific warning

Postby administrator » Oct 16th, '20, 13:44

It's not an error, just warning to put your attention!


Return to “Programming Tricks”