• Resolved Martin Stehle

    (@hinjiriyo)


    The idea of the plugin is very useful. But the plugin is not yet useable due to missing data validation and poor code design.

    I am a plugin developer and run my test server WP debug mode. With this your plugin raises PHP warnings and notices. And something went bad while creating new tables on the first activation of the plugin.

    E.g. the line
    $settings = json_decode( get_option( GDPR_COMPLIANCE_USERDATA_SETTINGNAME ) , true);
    returns NULL and the code tries to get $settings['types'] without check of the existence of that data.

    I would be glad if you would make your plugin robust.

Viewing 1 replies (of 1 total)
  • Plugin Author Scribit

    (@scribit)

    Thanks Martin for your post.
    I have enabled the debug mode too and I don’t see any warning or notice in my installation. Maybe I’m using a more recent plugin version.

Viewing 1 replies (of 1 total)
  • The topic ‘PHP warnings and notices’ is closed to new replies.