pressidium / pressidium-cookie-consent

🍪 Lightweight, user-friendly and customizable cookie consent banner to help you comply with the EU GDPR cookie law and CCPA regulations.
https://wordpress.org/plugins/pressidium-cookie-consent/
GNU General Public License v2.0
45 stars 2 forks source link

Critical error on activate plugin #1

Closed muggsy0011 closed 1 year ago

muggsy0011 commented 1 year ago

When installing and activating plugin there is critical error notice. Installation was on fresh instance of wordpress (version 6.2.2.), with no plugins installed.

Installing with zip file.

Error Details

An error of type E_COMPILE_ERROR was caused in line 53 of the file /home/devpabnu/public_html/test/wp-content/plugins/pressidium-cookie-consent-master/pressidium-cookie-consent.php. Error message: require_once(): Failed opening required '/home/devpabnu/public_html/test/wp-content/plugins/pressidium-cookie-consent-master/vendor/autoload.php' (include_path='.:/opt/alt/php74/usr/share/pear')

over-engineer commented 1 year ago

Hey, @muggsy0011!

The error you’re getting indicates that there are missing files in your vendor/ directory.

Make sure that:

  1. You’ve installed the Composer dependencies:

    composer install
  2. You’ve installed the npm dependencies and built the plugin:

    npm install && npm run build

Alternatively, you could either grab the zip file of the latest release, or install the plugin via the Plugin Directory (recommended)

pressidium-cookie-consent
  1. Log in to your WordPress dashboard
  2. Navigate to the “Plugins” menu
  3. Search for “Pressidium Cookie Consent”
  4. Click “Install Now” and WordPress will take it from there
  5. Activate the plugin through the “Plugins” menu on WordPress

Let me know if you need any clarification 🙂

muggsy0011 commented 1 year ago

Uh, sorry, didnt know there is plugin also in plugin directory.

Thank you for your help, keep up superb work!

Regards M

over-engineer commented 1 year ago

Thanks for the kind words! I’m closing this issue as resolved. If you have any more questions, feel free to ask :slightly_smiling_face: