Fancybox install ERROR
Permalink Browser Info Environment
Hi, i always get this information:
Declaration of Concrete\Package\Fancybox2\Block\Fancybox2\Controller::registerViewAssets() should be compatible with Concrete\Core\Block\BlockController::registerViewAssets($outputContent = '')
and its impossible to install your add ?
Can you help me ?
Klaus
Declaration of Concrete\Package\Fancybox2\Block\Fancybox2\Controller::registerViewAssets() should be compatible with Concrete\Core\Block\BlockController::registerViewAssets($outputContent = '')
and its impossible to install your add ?
Can you help me ?
Klaus
Type: | Ticket |
---|---|
Status: | Archived |
You get the information per e-mail
Thanks
Thanks
Hi, can fix the error - i have send to you ftp and other information - Sorry but i want work with the project and the addon doesnt work ?
Best regards
Best regards
Hi You are happy to assist me - but what time ? sorry about my englsich but i have send all you need - ftp -cms envirement and now ?
Hi,
Thanks for your patience. I've been away in vacation the past couple of days so I'm just now getting caught up. Can you confirm what email address you used?
Thanks!
xxcriversxx
Thanks for your patience. I've been away in vacation the past couple of days so I'm just now getting caught up. Can you confirm what email address you used?
Thanks!
xxcriversxx
Ok, 10 Days later .... don forget me please ;-)
Hi, I haven't forgot but I didn't get your email. Can you confirm?
xxcriversxx
xxcriversxx
Hi, i have send a second time to xxcriversxx@gmail.com
i hope you get ? it
thanks Klaus
i hope you get ? it
thanks Klaus
This seems to be an error related to PHP 7:
As the error message says...
On line 158 of fancybox2/blocks/fancybox2/controller.php replace
with
And istallation or upgrading works well again.
As the error message says...
On line 158 of fancybox2/blocks/fancybox2/controller.php replace
public function registerViewAssets(){
with
public function registerViewAssets($outputContent = ''){
And istallation or upgrading works well again.
Sorry i try, but this is not the error ;-(
This is not the error?
Actually this is what the error message says, and it's true for all add-ons using "registerViewAssets()" which is not compatible with PHP7. Did you change the related line of controller.php? Which PHP Version are you running?
Regarding another add-on, showing the same issue, see here:
https://www.concrete5.org/marketplace/addons/thumb-gallery/support/e...
@xxcriversxx
Please update your add-on!
Actually this is what the error message says, and it's true for all add-ons using "registerViewAssets()" which is not compatible with PHP7. Did you change the related line of controller.php? Which PHP Version are you running?
Regarding another add-on, showing the same issue, see here:
https://www.concrete5.org/marketplace/addons/thumb-gallery/support/e...
@xxcriversxx
Please update your add-on!
Ok, I'm missing the knowledge, I use the moment php7.0 should I go back?
You can keep with PHP 7, but you have to replace the line of code in controller.php of the block as mentioned above.
I have experienced the same problem, and the fix worked for me.
Maybe you have to uninstall the addon first, then apply the fix and install it again.
I have experienced the same problem, and the fix worked for me.
Maybe you have to uninstall the addon first, then apply the fix and install it again.
i try it - i have deinstal the add first and know i change -
now its impossible to install, the system ask me is the controller.php valid ? i roll back
ah, do you have the first controller.php for me ?
i change teh wrong
i change teh wrong
I'll be happy to help you all with this. As promised, the plugin has been updated to resolve this issue. Please give it a try and let me know if you need anything else!
Thanks,
xxcriversxx
Thanks,
xxcriversxx
Do you think it is better to delete everything by ftp first?
You can delete the old package and upload the new one right after. Then open "Extend Concrete5" and update the package (there will be a message on top, saying there is an update for Easy Fancybox 2).
Finish it works
Attention: Since there has been no activity on this issue for two weeks, this issue has been automatically archived.
To re-open this issue, reply to this message.
To re-open this issue, reply to this message.
Attention: Since there has been no activity on this issue for two weeks, this issue has been automatically archived.
To re-open this issue, reply to this message.
To re-open this issue, reply to this message.
I'll be happy to assist you. This is a new error. Can you please send me a copy of your environment information? This can be found in your concrete dashboard->system->environment.
Thanks!
xxcriversxx