I try to update the Base module and get the following message: Warning: Use of undefined constant CURLOPT_ACCEPT_ENCODING. What can I do?
PHP constant CURLOPT_ACCEPT_ENCODING was added to the Base module in v.1.12.16 and is declared in PHP library curl/curl_d.php.
If you see this error message, it's likely that the PHP version is a bit outdated. Therefore, it's recommended to check if the constant is declared in the library curl/curl_d.php. If not, please consider upgrading the PHP version. In case the constant is declared, but the message is still shown, you may ignore the warning as it doesn't affect the installation process.
Related Articles
I get the "Undefined index: inventory_source" error, what should I do?
In the Store Pickup with Locator extension, there's an optional Amasty_StorePickupWithLocatorMSI module which is related to the default Magento inventory functionality. The "Undefined index: inventory_source" error during running the 'setup:upgrade' ...
When I enable debug mode, cache status is Undefined. Does the extension work?
If cache status is Undefined, it usually means that a third-party caching tool is used. The extension is unable to identify the caching tool and, therefore, whether the page is cached or not. For example, the FPC Warmer works this way with Varnish ...
How do I update the theme?
We are constantly improving and updating our extensions, therefore, we suggest that you always use the latest extension/theme version on your site. An update of a Magento 2 extension/theme from Amasty should be done the same way as it was installed - ...
I’m unable to update attributes on multiple products, what can I do?
Please, keep in mind that Update Attribute is a default Magento mass action that is not affected by the Mass Product Actions extension. If you try to update attributes via mass actions, but the attempt fails, then one of the reasons may be that the ...
How to edit the default notification message "Free Gift {name of the product} was added to your shopping cart"?
You can change the default notification message to a more suitable one by modifying the translation file of the extension. Please follow the steps below to do so. Step 1. Navigate to the extension’s directory. The location of the directory depends on ...