Hi,
On this line, you should have this code:
echo implode("\r\n", $this->extra_blocks);
So what it does is that it assumes that the variable $this->extra_blocks is an array of strings (text) and combine all the strings of that array, separated by a carriage return and then output all that to the page.
The variable $this->extra_blocks is initialise by HikaShop as an empty array. And then between this initialisation and the line where the error happens, there are two things which can fill this variable:
- a plugin implements the onHikaPluginConfiguration event and add elements to the array
- a plugin implements the onHikashopBeforeDisplayView event and add elements to the array
The reason this error popups up is because a plugin has added to that array something which isn't a string.
So in short, the problem is within one of the plugins on your website not added the correct data to that $this->extra_blocks variable.
But it's not possible to know which plugin is doing that with just that error message.
I'm afraid you'll have to disable the plugins one by one to find the one doing that. If it started recently and you installed a plugin recently, try first with this one. It's highly likely to be a payment or shipping plugin.