• Resolved rb3n

    (@rb3n)


    Hello,

    Not sure why, but the first row I see within my wordpress installation is:
    Notice: Undefined index: slug in /home/xxx/www/wp-content/plugins/gdpr-framework/src/Components/Consent/ConsentManager.php on line 129

    I have deleted and downloaded again, but the problem remains. The file looks fine, though:

    129) $this->customConsentTypes[$consentType[‘slug’]] = [

    130) ‘slug’ => isset($consentType[‘slug’]) ? $consentType[‘slug’] : ”,

    131) ‘title’ => isset($consentType[‘title’]) ? $consentType[‘title’] : ”,
    132) ‘description’ => isset($consentType[‘description’]) ? $consentType[‘description’] : ”,

    133) ‘visible’ => isset($consentType[‘visible’]) ? $consentType[‘visible’] : ”,

    134) ];

    Any ideas?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter rb3n

    (@rb3n)

    I could also try to fully uninstall the plugin and install it again, but I don’t know how should I proceed to delete ALL the data associated to the plugin (i.e.: when I reinstall it, all my previous settings are loaded “magically”)

    Hi there!

    You don’t need to reinstall the plugin. This is likely an issue in the code. I’ll look into this!

    Thread Starter rb3n

    (@rb3n)

    Hello indrek_k!

    Thanks for replying. You’re right, it is likely to be an issue with the code*. However, I discovered how to completely remove the installation and start again (not very smart, but time-saver for both of us).

    This issue can be solved -although the coding issue is still there.

    What I did was to delete completely the installation.

    To do so, I deactivated and uninstalled it from the wordpress console. I then logged in into my phpmyAdmin and searched for any references for GDPR and I deleted them all. This step was the key.

    I then reinstalled the plugin and started again. Problem solved.

    *my details are as follows (everything is updated):
    wordpress: 4.9.5–en_GB
    The GDPR Framework: 1.0.5
    PHP version: 7.0
    Database: MYSQL v.5.6

    Happy to provide more details if you want to investigate further, although, as I said, now it is working fine ??

    Have the same problem:

    slug in /home/xxx/public_html/wp-content/plugins/gdpr-framework/src/Components/Consent/ConsentManager.php on line 129

    Hi there!

    Any chance you also installed and tested the Trew Knowledge GDPR plugin on the same site? I discovered today that we have a database table with the same name ??

    Also got this error for some reasons. I had to save consent settings to make it disappear.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Notice: Undefined index: slug in …/ConsentManager.php on line 129’ is closed to new replies.