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.

Please visit our site for more useful Magento 2 Extensions: https://bsscommerce.com/magento-2-extensions.html