Help Centre

<

Home
Troubleshooting integration issues for Magento 2

Occasionally errors may occur when integrating Salesfire for Magento 2.

We have compiled a guide to help you resolve any issues and successfully integrate.

Uncaught Error: Class 'Salesfire\Formatter' not found

This occurs when our Salesfire SDK has not been installed. This usually happens when the plugin has been installed manually outside of the Magento Extension Manager.

There are three ways to resolve this:

  1. Install Salesfire through the Magento Extension Manager with our feed is not generating instructions below.
  2. Ensure the Salesfire SDK has been included.
  3. Install via a single release bundle.
Class **\Interceptor does not exist

This can occur when you install a new extension or module and an internal code Interceptor cache has been deleted or is missing references to the new extension.

You can run this command on your server to regenerate the Interceptor:

php bin/magento setup:di:compile

Feed is not generating

If your Magento store is not generating a product feed please ensure:

  1. Product Feed setting is Enabled and necessary settings are completed.
  2. Wait 24 hours, our product feeds generate each morning and therefore may take a day to generate.
  3. Ensure your cron cache has been cleared.

If you are still having trouble generating the feed it may be due to configuration or setup issues that conflict with our plugin. Please send any logs to your Client Success Manager who will pass them on to our team to investigate for you.

Here are typical file names of logs you should provide:

  • salesfire.log - Often located at /var/log/salesfire.log.
  • system.log
  • phperror.log
  • exception.log
  • Any other logs that are relevant as per your setup. The names above may vary.

Magento 2 integration security policies

This is also an alternative solution when set up doesn't include whitelisting the Salesfire functions and instead presents error codes on the user's site, found in the console.

Learn more about integration security policies.

Note: If the system is reporting errors but not enforcing the block you will need to add *.salesfire.co.uk to that whitelist.