undefined array key 1

34 views
Skip to first unread message

abigail pattugalan

unread,
Nov 18, 2022, 11:23:55 AM11/18/22
to Fat-Free Framework
hello everyone,

I experienced a power failure while working in F3. When the electricity is working again running the program again gave me this error message

Undefined array key 1

and the source of error coming from this lines

    public function __construct(DB\SQL $db)  {
       
        parent::__construct($db,'tperson');
    }

prior to electricity lose it works perfectly, now it shows that error and I cannot save to db anymore.

I did a backup and restore to my db but it didnt help.

pls help and thanks a lot


ved

unread,
Nov 18, 2022, 1:38:16 PM11/18/22
to Fat-Free Framework
Hi,

Can you access the database using the command line, phpmyadmin or some other tool? And can you use those tools to browse all tables correctly?

Because if that issue really began after a power failure then it most likely has nothing to do with F3 and your database or hard drive may have gotten corrupted perhaps.

Cheers

abigail pattugalan

unread,
Nov 19, 2022, 1:26:31 AM11/19/22
to Fat-Free Framework
hi,

thanks for your reply.

yes, it is all accessible. I also rebuilt the database table unfortunately it is not working at all. I don't know where the problem coming from and I hate this power failure. Let me look for other solutions.
thanks, Ved.
Reply all
Reply to author
Forward
0 new messages