Question:
The first error showed that a block could not be found, but that was due to the wrong directory name (no camel notation).
I've change the directory name and voila got the config page
Followed the manual trying to configure but when saving I've got an error again
Re-run the install procedure on the server, but now hitting the button "Advanced Hide Price" gives the following error:
SQLSTATE[42S02]: Base table or view not found: 1146 Table 'tamsonacc_preinstalled_magento.bss_callforprice_form_fields' doesn't exist, query was: SELECT `main_table`.* FROM `bss_callforprice_form_fields` AS `main_table`
#0 /data/web/magento2/vendor/magento/framework/DB/Statement/Pdo/Mysql.php(95): Zend_Db_Statement_Pdo->_execute(Array)
#1 /data/web/magento2/vendor/magento/zendframework1/library/Zend/Db/Statement.php(303): Magento\Framework\DB\Statement\Pdo\Mysql->_execute(Array)
#2 /data/web/magento2/vendor/magento/zendframework1/library/Zend/Db/Adapter/Abstract.php(480): Zend_Db_Statement->execute(Array)
etc etc.
Can you advice what to do to repair?
Answer:
Please refer this suggestion:
In this case, you need to uninstall the module:
- Go to database (phpadmin or adminer), find table setup_module
- find row Bss_AdvancedHidePrice, then remove it
- use ssh to run again:
php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy
For more information about product, please refer Magento 2 Hide Price/Call For Price page.
If you need any further assistance, please feel free to contact us.
Here is our information that you might care:
BSS Commerce is a full-service ecommerce agency with 14+ years of experience, supporting 75,000+ customers worldwide. As an Adobe Commerce Solution Bronze Partner and Select Magento Extensions Builder, we deliver trusted end-to-end solutions.
Our core strength is Magento, with 150+ extensions designed to enhance store performance and drive growth. With deep expertise from years of working on Magento websites, we deliver scalable, high-impact solutions backed by strong client trust.
Please visit our site for more useful Magento 2 Extensions and discover our most powerful tools that might help you boost your store performance:
- BSS Commerce’s Magento 2 B2B Extension simplifies wholesale operations with flexible pricing and advanced company management.
- BSS Commerce’s Magento 2 SEO Extension boosts search visibility and drives more organic traffic with powerful optimization features.
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article