I get a 500 Error when installing the plugin?

You need to:

  1. Increase memory_limit
  2. Increas php_max_execution time

Edit your .htaccess file and add the following:

php_value upload_max_filesize 1000M
php_value post_max_size 2000M
php_value memory_limit 512M
php_value max_execution_time 180
php_value max_input_time 180

If you have access to your PHP.ini you can also do it directly in the php.ini file.

Read more here: https://premium.wpmudev.org/blog/increase-memory-limit/

One thought on “I get a 500 Error when installing the plugin?

  1. Jacco de Vries says:

    When activating the plugin I get following Error:

    Warning: require(/var/www/vhosts/ledspresent.nl/httpdocs/wp-content/woocommerce-pdf-catalog/includes/class-woocommerce-pdf-catalog.php): failed to open stream: No such file or directory in /var/www/vhosts/ledspresent.nl/httpdocs/wp-content/woocommerce-pdf-catalog/woocommerce-pdf-catalog.php on line 54

    Warning: require(/var/www/vhosts/ledspresent.nl/httpdocs/wp-content/woocommerce-pdf-catalog/includes/class-woocommerce-pdf-catalog.php): failed to open stream: No such file or directory in /var/www/vhosts/ledspresent.nl/httpdocs/wp-content/woocommerce-pdf-catalog/woocommerce-pdf-catalog.php on line 54

    Fatal error: require(): Failed opening required ‘/var/www/vhosts/ledspresent.nl/httpdocs/wp-content/woocommerce-pdf-catalog/includes/class-woocommerce-pdf-catalog.php’ (include_path=’.:/opt/plesk/php/7.3/share/pear’) in /var/www/vhosts/ledspresent.nl/httpdocs/wp-content/woocommerce-pdf-catalog/woocommerce-pdf-catalog.php on line 54

Leave a Reply

Your email address will not be published. Required fields are marked *