Body: <p>I get the following error when I save records or when I try to setup the localisation.</p>
  <p><a href="https://i.sstatic.net/8D4HT.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/8D4HT.png" alt="enter image description here" /></a></p>
  <p>I am using civicrm 5.69.4 for wordpress.</p>
  <p>Any help is appreciated.</p>
  <p>Talal</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2024-02-04T20:34:14.873Z
Comments.Text: is your site civicrm.settings.php correctly set up to always be using either www or not 'www' or http v https. just sometimes folk end up with systems set up so it has both in different places and it causes them problems
Comments.UserDisplayName: petednz - fuzion
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2024-02-04T22:32:51.247Z
Comments.Text: Hi @petednz-fuzion,
  
  I have tried to edit the civicrm.settings.php file to no avail, tried all options (including www, https etc.)
  
  Is there anything else I can check?
Comments.UserDisplayName: Talal Hibatullah
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2024-02-05T21:07:09.530Z
Comments.Text: You might find something in the civicrm error log, accessible directly in your filesystem if you have access to it, or via the web interface if you use this extension: https://civicrm.org/extensions/civicrm-log-viewer
Comments.UserDisplayName: Alan Dixon
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2024-02-05T21:10:05.320Z
Comments.Text: FWIW, the error you're showing is one of those very unhelpful ones, which is why you want to dig a little deeper to find an error message that preceded what you're seeing on your screen. It might mean an sql-level error, or it might be a file permissions issue, etc. If you do get access to the civicrm error log, then you may have to dig though other noise to figure out which error corresponds to that screen, so keeping track of dates/times can be useful.
Comments.UserDisplayName: Alan Dixon
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2024-02-05T22:58:41.107Z
Comments.Text: When I installed civivrm, I had the following warning, could this be the reason? @AlanDixon
  
  "It is recommended, though not yet required, to upgrade your PHP MySQL driver (libmysqlclient) to >= 5.5.3 for utf8mb4 support."
Comments.UserDisplayName: Talal Hibatullah
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2024-02-06T14:16:21.280Z
Comments.Text: Well, maybe not directly, but that's a flag that your hosting might be the root of your issues, i.e. related your php and/or mysql.
Comments.UserDisplayName: Alan Dixon
Tags: <wordpress><error>
Title: Error when saving records
ThreadText: # Error when saving records
  
  (Asked by: username_0 on 2024-02-04)
  
  I get the following error when I save records or when I try to setup the localisation.
  
  [![enter image description here](https://i.sstatic.net/8D4HT.png)](https://i.sstatic.net/8D4HT.png)
  
  I am using civicrm 5.69.4 for wordpress.
  
  Any help is appreciated.
  
  Talal
  
  **Tags:** wordpress, error
  
  > **Comments:**
  > **username_1**: is your site civicrm.settings.php correctly set up to always be using either www or not 'www' or http v https. just sometimes folk end up with systems set up so it has both in different places and it causes them problems  
  > **username_0**: Hi @petednz-fuzion,  I have tried to edit the civicrm.settings.php file to no avail, tried all options (including www, https etc.)  Is there anything else I can check?  
  > **username_2**: You might find something in the civicrm error log, accessible directly in your filesystem if you have access to it, or via the web interface if you use this extension: https://civicrm.org/extensions/civicrm-log-viewer  
  > **username_2**: FWIW, the error you're showing is one of those very unhelpful ones, which is why you want to dig a little deeper to find an error message that preceded what you're seeing on your screen. It might mean an sql-level error, or it might be a file permissions issue, etc. If you do get access to the civicrm error log, then you may have to dig though other noise to figure out which error corresponds to that screen, so keeping track of dates/times can be useful.  
  > **username_0**: When I installed civivrm, I had the following warning, could this be the reason? @AlanDixon  "It is recommended, though not yet required, to upgrade your PHP MySQL driver (libmysqlclient) to >= 5.5.3 for utf8mb4 support."  
  > **username_2**: Well, maybe not directly, but that's a flag that your hosting might be the root of your issues, i.e. related your php and/or mysql.  
  
  ---
  
  ## 0 answers
  
  