V
V
Vitaly Malyuzhets2021-11-15 19:10:37
CAPTCHA
Vitaly Malyuzhets, 2021-11-15 19:10:37

How to resolve Trying to access array offset on value of type bool in errors?

Hello. The plugin gives errors Trying to access array offset on value of type bool in, here is a piece of code for them:

self::$plugin_options = get_option( 'wlrp_captcha_options' );
    self::$site_key = self::$plugin_options['site_key'];
    self::$secret_key = self::$plugin_options['secrete_key'];
    self::$theme = self::$plugin_options['theme'];
    self::$language = self::$plugin_options['language'];
    self::$error_message = self::$plugin_options['error_message'];

P/S PHP version 8

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question