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' ...
How to update an Amasty extension?
Below, you may find the instructions on installing an update to an Amasty extension. Choose the appropriate method of the extension update – via Composer or via manual file upload. The choice of the method corresponds to the initial way the extension ...
How to proceed if I need to update Amasty Base extension?
To finish license registration for your amasty.com account, you need to enter your Instance Registration Key into our Base module functionality that becomes available with v.1.16.0 and newer. In order to check your Base module version and its latest ...
Composer doesn’t allow me to update the module to the latest version. Is there a solution for it?
While updating Amasty extensions via composer, you may encounter a Nothing to install, update or remove message, as if there are no updates for the modules. There are several possible reasons why the composer is not fetching the latest version of the ...
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 ...