Home › Forums › Booster Plus Customer Forum › PDF Invoice > ctritical error
- This topic has 7 replies, 2 voices, and was last updated 3 years ago by
Gerdo Schepel.
-
AuthorPosts
-
July 24, 2023 at 7:39 am #46409
Gerdo Schepel
ParticipantHello,
I have exactly the same issue as user @zweigrafiker and now for almost 2 months. I can’t figure out what it is.The pdf invoicing leads to a critical error in wordpress. Whenever i try to display an invoice pdf – from dashboard or frontend – there is this error.
This also happens when a customer tried to download their invoice in their account.
And also when turn the status of an order to completed: the same error.
I have made a video of the issue and send two text files of Booster settings and WordPress/woocommerce status rapport of the website http://www.regenesis-magnesium.nl
Kind regards,
DuncanJuly 24, 2023 at 8:57 am #46411David G
ParticipantHi @gschepel
Please take a backup of the wp-config.php file and add the below code in the wp-config.php file.
@ini_set( ‘log_errors’, ‘On’ );
@ini_set( ‘display_errors’, ‘Off’ );
define( ‘WP_DEBUG’, true );
define( ‘WP_DEBUG_LOG’, true );
define( ‘WP_DEBUG_DISPLAY’, false );Please check and Let me know if the issue is not solved after adding this code.
July 24, 2023 at 11:20 am #46413Gerdo Schepel
ParticipantHi David,
What will this code do? Only not showing/displaying an error?
July 24, 2023 at 11:59 am #46414Gerdo Schepel
ParticipantThis issue also occurs in another website of us. I have already deactivated all plugins except Booster and Woocommerce to see if it is a conflict with another plugin but the issue still is not solved.
July 25, 2023 at 8:02 am #46428David G
ParticipantHi @gschepel
Thanks for your reply.
PDF invoices cannot be opened properly on some servers due to an error log conflict. So please add the below code to your wp-config.php.
@ini_set( ‘log_errors’, ‘On’ );
@ini_set( ‘display_errors’, ‘Off’ );
define( ‘WP_DEBUG’, true );
define( ‘WP_DEBUG_LOG’, true );
define( ‘WP_DEBUG_DISPLAY’, false );July 27, 2023 at 8:19 am #46474Gerdo Schepel
ParticipantHello David,
Where do i have to put the code? Because when i put the code in the wp-config wordpress gives errors.
Best regards Duncan
August 1, 2023 at 7:03 am #46640David G
ParticipantHi @gschepel
Thank you for your reply.
Could you please share the screenshot of the error you are encountering? This way, we can check the issue and provide you with the necessary assistance.
October 5, 2023 at 7:21 am #47402Gerdo Schepel
ParticipantHello David,
Where do i have to put the code mentioned above?
Below is the end of our wp-config file:
* WordPress Database Table prefix.
*
* You can have multiple installations in one database if you give each
* a unique prefix. Only numbers, letters, and underscores please!
*/
$table_prefix = ‘OEnJwzFz_’;
define(‘WP_ALLOW_MULTISITE’, true);
define( ‘WP_DEBUG’, false );
define( ‘DISALLOW_FILE_EDIT’, true );
define( ‘CONCATENATE_SCRIPTS’, false );
define( ‘WP_DEBUG_DISPLAY’, false );
/* That’s all, stop editing! Happy publishing. */
/** Absolute path to the WordPress directory. */
if ( ! defined( ‘ABSPATH’ ) ) {
define( ‘ABSPATH’, dirname( __FILE__ ) . ‘/’ );
}
/** Sets up WordPress vars and included files. */
require_once ABSPATH . ‘wp-settings.php’; -
AuthorPosts
- You must be logged in to reply to this topic.
