Title: A problem occurred while saving the data.
Last modified: November 16, 2023

---

# A problem occurred while saving the data.

 *  [iAmbiiiLi](https://wordpress.org/support/users/iambiiili/)
 * (@iambiiili)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/a-problem-occurred-while-saving-the-data/)
 * Hello Dev,
 * I am trying to create a new QR code and whenever I try to save it, it shows this
   error as in the link.
 * [https://snipboard.io/sqZB4H.jpg](https://snipboard.io/sqZB4H.jpg)
 * I attempted various solutions:
    - Uninstalling and reinstalling the Plugin, but unfortunately, the error persists.
    - Despite my efforts to resolve the issue, such as uninstalling the Plugin, 
      deleting the plugin folder via FTP, and downloading the plugin from the official
      WordPress directory, the problem remains.
    - I have tried multiple methods to fix the problem, including uninstalling the
      Plugin, deleting the tables from phpmyadmin, and attempting a fresh install,
      but the issue persists and the tables do not recreate.
 * Could you please help me resolve this issue? I hope a quick reply.

Viewing 8 replies - 1 through 8 (of 8 total)

 *  Thread Starter [iAmbiiiLi](https://wordpress.org/support/users/iambiiili/)
 * (@iambiiili)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/a-problem-occurred-while-saving-the-data/#post-17207430)
 * I have fixed the Database Table issue, now I have the following error when I 
   enter in settings of the plugin
 * **Deprecated**: Optional parameter $filename declared before required parameter
   $fore_color is implicitly treated as a required parameter in **/wp-content/plugins/
   dynamic-qr-code/src/lib/phpqrcode.php** on line **962**
 * **Deprecated**: Optional parameter $pixelPerPoint declared before required parameter
   $fore_color is implicitly treated as a required parameter in **/wp-content/plugins/
   dynamic-qr-code/src/lib/phpqrcode.php** on line **962**
 * **Deprecated**: Optional parameter $outerFrame declared before required parameter
   $fore_color is implicitly treated as a required parameter in **/wp-content/plugins/
   dynamic-qr-code/src/lib/phpqrcode.php** on line **962**
 * **Deprecated**: Optional parameter $saveandprint declared before required parameter
   $fore_color is implicitly treated as a required parameter in **/wp-content/plugins/
   dynamic-qr-code/src/lib/phpqrcode.php** on line **962**
 * **Deprecated**: Optional parameter $filename declared before required parameter
   $fore_color is implicitly treated as a required parameter in **/wp-content/plugins/
   dynamic-qr-code/src/lib/phpqrcode.php** on line **3582**
 * **Deprecated**: Optional parameter $pixelPerPoint declared before required parameter
   $fore_color is implicitly treated as a required parameter in **/wp-content/plugins/
   dynamic-qr-code/src/lib/phpqrcode.php** on line **3582**
 * **Deprecated**: Optional parameter $outerFrame declared before required parameter
   $fore_color is implicitly treated as a required parameter in **/wp-content/plugins/
   dynamic-qr-code/src/lib/phpqrcode.php** on line **3582**
 * **Deprecated**: Optional parameter $saveandprint declared before required parameter
   $fore_color is implicitly treated as a required parameter in **/wp-content/plugins/
   dynamic-qr-code/src/lib/phpqrcode.php** on line **3582**
 *  Plugin Author [sosidee](https://wordpress.org/support/users/sosidee/)
 * (@sosidee)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/a-problem-occurred-while-saving-the-data/#post-17207705)
 * Hi,
 * those messages comes from a third part library used to generate the qr code image.
   
   I’ve fixed the deprecated optional parameter in some methods and uploaded the
   updated library file.So, in a short time the WP repository should compress the
   file in the installation zip and you will be able to uninstall and reinstall 
   the plugin in order to replace the external library file in your website.
 *  Thread Starter [iAmbiiiLi](https://wordpress.org/support/users/iambiiili/)
 * (@iambiiili)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/a-problem-occurred-while-saving-the-data/#post-17207710)
 * Thanks, I will update the file and let you know till tomorrow.
 *  Thread Starter [iAmbiiiLi](https://wordpress.org/support/users/iambiiili/)
 * (@iambiiili)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/a-problem-occurred-while-saving-the-data/#post-17209628)
 * I guess, the update has not been sent by WordPress through dashboard plugin. 
   Should I download it manually and upload it?
 *  Plugin Author [sosidee](https://wordpress.org/support/users/sosidee/)
 * (@sosidee)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/a-problem-occurred-while-saving-the-data/#post-17209674)
 * Yes, if you can, download the file directly from the WP repository at the URL
   [https://plugins.svn.wordpress.org/dynamic-qr-code/tags/0.9.3/src/lib/phpqrcode.php](https://plugins.svn.wordpress.org/dynamic-qr-code/tags/0.9.3/src/lib/phpqrcode.php)
   
   and replace the file in your /wp-content/plugins/dynamic-qr-code/src/lib server
   folder. I guess it’s the quickest way to fix the issue.
 *  Thread Starter [iAmbiiiLi](https://wordpress.org/support/users/iambiiili/)
 * (@iambiiili)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/a-problem-occurred-while-saving-the-data/#post-17209753)
 * I updated the file and now it is working perfectly fine, those deprecated issues
   have been resolved for now, one more thing, the QR CODE does not expire after
   the date has passed, what can be the issue?
 *  Plugin Author [sosidee](https://wordpress.org/support/users/sosidee/)
 * (@sosidee)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/a-problem-occurred-while-saving-the-data/#post-17210038)
 * That’s an issue fixed in the new update, but since the next version is in a long
   way to come, I suggest to act similarly to before… so, download the file [https://plugins.svn.wordpress.org/dynamic-qr-code/tags/0.9.3/src/qrcode.php](https://plugins.svn.wordpress.org/dynamic-qr-code/tags/0.9.3/src/qrcode.php)
   
   and upload it in /wp-content/plugins/dynamic-qr-code/src
 *  Thread Starter [iAmbiiiLi](https://wordpress.org/support/users/iambiiili/)
 * (@iambiiili)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/a-problem-occurred-while-saving-the-data/#post-17210466)
 * Done, thanks.

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘A problem occurred while saving the data.’ is closed to new replies.

 * ![](https://ps.w.org/dynamic-qr-code/assets/icon-256x256.png?rev=2684394)
 * [Dynamic QR Code - generator](https://wordpress.org/plugins/dynamic-qr-code/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/dynamic-qr-code/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/dynamic-qr-code/)
 * [Active Topics](https://wordpress.org/support/plugin/dynamic-qr-code/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/dynamic-qr-code/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/dynamic-qr-code/reviews/)

 * 13 replies
 * 2 participants
 * Last reply from: [iAmbiiiLi](https://wordpress.org/support/users/iambiiili/)
 * Last activity: [2 years, 6 months ago](https://wordpress.org/support/topic/a-problem-occurred-while-saving-the-data/#post-17210466)
 * Status: not resolved