Title: Error &#8211; wpSettingsFramework/class-wordpresssettingsframework.php on line 531
Last modified: February 28, 2022

---

# Error – wpSettingsFramework/class-wordpresssettingsframework.php on line 531

 *  [karpfensami](https://wordpress.org/support/users/karpfensami/)
 * (@karpfensami)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/error-wpsettingsframework-class-wordpresssettingsframework-php-on-line-531/)
 * Hello,
    after a moving the site to a new hosting I got this error message.
 * ../wp-content/plugins/pvb-contact-form-7-calculator/lib/wpSettingsFramework/class-
   wordpresssettingsframework.php on line 531
 * This is the code on line 531:
    `$subfield['value'] = ( $blank ) ? '' : isset(
   $args['value'][ $row ][ $subfield['id'] ] ) ? $args['value'][ $row ][ $subfield['
   id'] ] : '';`
 * How can I fix that?
 * Thank you in advanced!
 * Best regards
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ferror-wpsettingsframework-class-wordpresssettingsframework-php-on-line-531%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  [matisse52](https://wordpress.org/support/users/matisse52/)
 * (@matisse52)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/error-wpsettingsframework-class-wordpresssettingsframework-php-on-line-531/#post-15461312)
 * Hello,
    I ran into the same problem with switching to PHP8. There are two solutions:
   1) downgrade to PHP7.4
 * 2) add the missing brackets to the instruction line 531 of the reported file.
 * My suggestion (it work for me):
    Return the contents of line 531 to line 532 
   and then comment out line 531, then overwrite line 532 with the correct instruction
   that I report below and finally save everything:
 * $ subfield [‘value’] = ($ blank)? ”: (isset ($ args [‘value’] [$ row] [$ subfield[‘
   id’]])? $ args [‘value’] [$ row] [$ subfield [‘id’]]: ‘ ‘);

Viewing 1 replies (of 1 total)

The topic ‘Error – wpSettingsFramework/class-wordpresssettingsframework.php on line
531’ is closed to new replies.

 * ![](https://ps.w.org/pvb-contact-form-7-calculator/assets/icon-256x256.png?rev
   =1837175)
 * [PVB Contact Form 7 Calculator](https://wordpress.org/plugins/pvb-contact-form-7-calculator/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/pvb-contact-form-7-calculator/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/pvb-contact-form-7-calculator/)
 * [Active Topics](https://wordpress.org/support/plugin/pvb-contact-form-7-calculator/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/pvb-contact-form-7-calculator/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/pvb-contact-form-7-calculator/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [matisse52](https://wordpress.org/support/users/matisse52/)
 * Last activity: [4 years, 2 months ago](https://wordpress.org/support/topic/error-wpsettingsframework-class-wordpresssettingsframework-php-on-line-531/#post-15461312)
 * Status: not resolved