• 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 to see the link]

Viewing 1 replies (of 1 total)
  • 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.