Issue with Bss_Core module with php7.0 version

Created by Rosa Truong, Modified on Wed, 13 Nov, 2019 at 10:15 AM by Rosa Truong

Issue: 


We bought a "Reindex From Backend" module version 1.0.3 from your store after a successful integration and we're getting below error. 

Error :  Exception #0 (Magento\Framework\Exception\LocalizedException): 

Invalid block type:Bss\Core\Block\Adminhtml\Popup

Exception #1 (ReflectionException): Class Bss\Core\Helper\Api does not exist
Exception #2 (ReflectionException): Class Bss\Core\Helper\Api does not exist
Exception #3 (ParseError): syntax error, unexpected '?', expecting variable (T_VARIABLE)

Solution:


Our developer has checked the issue and found that this is caused due to our Core module's bug. 
Our module Core has a function which gets the information from other modules, but this function is only running with PHP version 7.1 and above. The PHP version on your site is 7.0.

We have fixed this issue and edited this file: app/code/Bss/Core/Helper/Api.php

Could you please check and update the attachment below on your site to fix the issue?


If you need any further assistance, please feel free to contact us via email sales@bsscommerce.com 

We'd like to help.


Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article