Announcement

#1 2021-01-21 13:46:58

Naunet
Member
2014-12-17
8

Unknown column 'cf.user_id'

Hello out there!

After upgrading to v2.11 this morning I wanted to update a bunch of plugins for my local installation of piwigo too. Most updates seemed to work fine (I saw a couple of 'OK' pop ups, but also noticed two 'an error occurred' pop ups.)

Now I always get:

Code:

Warning:  [mysql error 1054] Unknown column 'cf.user_id' in 'on clause'

SELECT
    cf.name AS cf_name,
    cf.email AS cf_email,
    u.username AS u_name,
    u.mail_address AS u_email
  FROM contact_form AS cf
  LEFT JOIN users AS u
    ON cf.user_id = u.id
 in /../piwigo/include/dblayer/functions_mysqli.inc.php on line 864


Fatal error: Call to a member function fetch_assoc() on boolean in /.../piwigo/include/dblayer/functions_mysqli.inc.php on line 930

No matter what browser. Any easy ways to solve this?


Thanks for reading, Naunet

Offline

 

#2 2021-01-21 13:53:47

Naunet
Member
2014-12-17
8

Re: Unknown column 'cf.user_id'

Got it!

'cf' points to 'contactform'. I removed this plugin.

... hmm, I need it ...



Thanks for reading, Naunet

Offline

 

#3 2021-01-21 18:22:30

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13786

Re: Unknown column 'cf.user_id'

Can you try to "restore" plugin ContactForm and see if it fixes the table.

Offline

 

#4 2021-01-23 17:28:01

Naunet
Member
2014-12-17
8

Re: Unknown column 'cf.user_id'

Already done and  fixed.

Thanks a million, Naunet

Offline

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact