PHP 8.1 support
Permalink Browser Info Environment
Hi there,
I'm running Concrete 9.1.1. on PHP@8.1. Installing the add-on works fine but I get an error on this page: /dashboard/blocks/block_designer.
The error:
Non-static method RamonLeenders\BlockDesigner\BlockDesignerProcessor::getPackageFolder() cannot be called statically
Does the add-on work on PHP@8.1?
I'm running Concrete 9.1.1. on PHP@8.1. Installing the add-on works fine but I get an error on this page: /dashboard/blocks/block_designer.
The error:
Non-static method RamonLeenders\BlockDesigner\BlockDesignerProcessor::getPackageFolder() cannot be called statically
Does the add-on work on PHP@8.1?
Type: | Discussion |
---|---|
Status: | Resolved |
Switching to PHP@8.0 results in:
Undefined array key "block_handle"
…/public/packages/block_designer/single_pages/dashboard/blocks/block_designer.php 52
Undefined array key "block_handle"
…/public/packages/block_designer/single_pages/dashboard/blocks/block_designer.php 52
OK, then there is work to do. Will be adding PHP 8.0 support then in upcoming week - as it's clear it's not working at this moment. Sorry for the inconvenience and will let you know as soon as this version is online.
Kind regards
Ramon
Kind regards
Ramon
Thank you for the quick response.
Just updated Block Designer to version 4.1.0. Please check if it all works now (on version 8.0). If you have any issues, let me know where exactly. Perhaps you can check 8.1 after, but for now I tested it all on version 8.0 (and 7.4 of course, to be backwards compatible).
If 8.1 still doesn't work, I will be looking at that later. Step by step :D
Kind regards
Ramon
If 8.1 still doesn't work, I will be looking at that later. Step by step :D
Kind regards
Ramon
All seems to work on 8.0. I will check on 8.1 later. Is the pro version also ready? It looks like I'm missing the fields.
Haven't checked the Pro version yet, there is so little time for everything... For now, my suggestion will be stay on PHP 7.x - I would need to look at the Pro version at a later point then if the fields don't show up!
Kind regards
Ramon
Kind regards
Ramon
Could you update to the latest versions available (4.1.0 PRO and 4.1.1 for Block Designer itself) and let me know if everything works okay for you now on PHP 8.0? After that, can you also try it out for 8.1 for me and let me know (version 8.1 untested, but let's see what it does)?
Kind regards
Ramon
Kind regards
Ramon
After the update the Pro fields are still not showing up. I'm using Multiple Site Hosting. Could this be the issue?
That very well could be the issue indeed. Can you try on a local install maybe without multi site?
Haven't setup this Add-On as multi site, as this Add-On is actually meant as per site and not for multiple sites (pre version 9.0).
Kind regards
Ramon
Haven't setup this Add-On as multi site, as this Add-On is actually meant as per site and not for multiple sites (pre version 9.0).
Kind regards
Ramon
It works without multisite. Will this be an option in the future?
Not having this on my TODO list as this will cost me money in 2 ways - people use it on multiple sites by only buying it once + I have to spend time (= money) on getting it to work on the multi-site setup. That will bite me in the ass twice.. so I'm gonna have to pass on this feature. Hope you understand.
Kind regards
Ramon
Kind regards
Ramon
I sort of do get it. But a multisite is still one environment. But yes.
Sorry I was logged into the wrong account.
Did you try it on PHP 8.0? Seems 8.1 is a bit stricter and therefore will be having issues here and there. Not sure if the latest ConcreteCMS version in general works EVERYWHERE with 8.1... since it didn't a few versions ago. Would have to be updating my Add-Ons with version 8.1 but since the system requirements also say 8.0 I would best be waiting for that. Can you confirm it works on PHP 8.0 for you?
Kind regards
Ramon