Notice: Undefined index: slug in …/ConsentManager.php on line 129
-
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 129I 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?
- The topic ‘Notice: Undefined index: slug in …/ConsentManager.php on line 129’ is closed to new replies.