• We have a warning on ALL pages about MDCF7 from a couple of weeks. No recent modification has been applied on our site and we had no issue before.

    Warning: Trying to access array offset on value of type bool in /…/web/wp-content/plugins/material-design-for-contact-form-7-premium/public/cf7-material-design-custom-style.php on line 78

    We have a pro version 2.6.5

    Thanks to help to solve this issue.

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi, I got this error as well and it is still not fixed…

    Unfortunately, the developers did a kind of sloppy job with the brackets in the query for checking for custom styles….

    This leads to accessing the $this->options Array even if it is not set (boolean “false”).

    The easiest way is to fill this array with Custom Styles…
    Simply go to Customizer ->Material Design and save the values or deactivate it…
    wp-admin/customize.php?autofocus[section]=cf7md_options

    Hi,
    if you have access to the extension files, go to public/cf7-material-design-custom-style.php and try removing the 3rd part of the if .
    || $this->options['use_custom_styles']
    Then it seems to work fine.
    But be careful, the dotorg and premium versions of the plugin no longer exist and are no longer maintained. I suggest you try to find another plugin or use CSS.

    I am also getting similar issues on plugins. Is there any solution for this?.

    PHP message: PHP Parse error: syntax error, unexpected token “)” in /home/wp/disk/wordpress/wp-content/plugins/material-design-for-contact-form-7-premium/public/cf7-material-design-custom-style.php on line 79″

    schwarzpunkt

    (@schwarzpunkt)

    Still there for me..

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Warning: Trying to access array offset on value of type bool’ is closed to new replies.