Update Pricepep first: most warnings and errors reported after WordPress, WooCommerce or PHP updates are fixed in versions 2.5, 2.5.2 and 2.6. If a message remains on 2.6, copy the exact line from the error log and send it with a bug report.
Where do I find the error message?
- WooCommerce > Status > Logs: fatal errors are logged there (source "fatal-errors").
wp-content/debug.log, ifWP_DEBUGandWP_DEBUG_LOGare on inwp-config.php. On a live site keepWP_DEBUG_DISPLAYoff so visitors don't see messages.- Your host's PHP error log.
Paths in the message containing wc-dynamic-pricing-and-discounts come from Pricepep (its folder kept the old name). Paths with another plugin's folder come from that plugin; see plugin conflicts. To check your version, see do I have the latest version.
Which messages are fixed, and where?
Error messages and the version that fixed them lists the errors and warnings reported with Pricepep, with their cause and the version that fixed each. The full list of fixes is in the changelog. Versions before 2.5.2 also have known security vulnerabilities, so update to the latest version even if you see no errors.
How do I report an error?
Send a bug report with:
- the full message line, including the file and line number (for a fatal error, the entry with source "fatal-errors" in WooCommerce > Status > Logs);
- WooCommerce's system report: go to WooCommerce > Status, click Get system report, then Copy for support, and paste it into the report. It lists the Pricepep, WordPress, WooCommerce and PHP versions, your theme and your active plugins;
- what you did when it happened, and whether it happens with other plugins deactivated.
Leave out customer data, passwords and keys. Bug reports get a reply only if something needs clarifying.
Frequently asked questions
Are deprecation notices dangerous?
No. They warn about code that a future PHP version will change. Hide notices from visitors on a live site and update when a fix is out.
Which PHP version does Pricepep need?
PHP 7.2 or later, with WordPress 4.0 and WooCommerce 3.0 or later.
What should a bug report include?
The full error line (fatal errors are in WooCommerce > Status > Logs, source fatal-errors), WooCommerce's system report (WooCommerce > Status > Get system report > Copy for support) and the steps that lead to the problem.