Jump to content

SQL Exception on creating new language


kcnpxcp
 Share

Recommended Posts

Hi there,

Ive got a problem on adding a new language to processwire. I created as usual a new language named "en" and then I got an SQL Error. At the moment I have no idea how to fix it. I dont want to loose my data from SQL-Tables. Access to Backend isnt possible anymore. Frontend works. 

 
Error: Exception: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'pages.name1082' in 'where clause' (in /mnt/webc/e0/72/53933972/htdocs/static/fortis/wire/core/PageFinder.php line 292)
 
 
Any ideas??
 
EDIT: I found this topic:
 
same problem, but no solution. can I do something without loosing my data?
 
 
Thanks for help.
Link to comment
Share on other sites

What version of PW are you running?

This was supposed to be fixed a while ago - https://github.com/ryancramerdesign/ProcessWire/issues/957

Take a look through that Github issue and if your version is after that fix, then maybe add a comment to the issue saying you still have an issue.

To fix your current problem, it should just be a matter of creating that "name1082" field in the pages database. You should be able to do that easily via PHPMyAdmin. If you are worried, make a database backup first.

Hope that helps!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...