Purchased, installed, not working
Permalink Browser Info Environment
Getting this Error:
Non-static method Concrete\Package\BlockDesigner\Controller\SinglePage\Dashboard\Blocks\BlockDesignerProcessor::setDirectorySeparator() cannot be called statically
Non-static method Concrete\Package\BlockDesigner\Controller\SinglePage\Dashboard\Blocks\BlockDesignerProcessor::setDirectorySeparator() cannot be called statically
Type: | Ticket |
---|---|
Status: | In Progress |
SORRY!!!
it seems, i was very tired!
i just downloaded the files on the very top of the list...
shame on me!!!!
BUT, is it posible to upgrade to PRO, or just buy it too?
greets, andy
it seems, i was very tired!
i just downloaded the files on the very top of the list...
shame on me!!!!
BUT, is it posible to upgrade to PRO, or just buy it too?
greets, andy
Now i use the newest version and PHP 8.2.1.
i get this error when i just want to use static HTML/Picture/Static HTML
/* @var $fieldTypeClass \RamonLeenders\BlockDesigner\FieldType\FieldType */
$fieldTypeClass = new $fieldType['namespace']($fieldType['directory'], $fieldType['pkgHandle'], $fieldType['pkgDirectory'], $fieldType['className']);
$fieldRepeating = isset($value['repeatable']) && trim($value['repeatable']) != '' && $fieldTypeClass->getCanRepeat() === true && isset($postData['fields'][$value['repeatable']]) && array_key_exists('repeatable', $fieldTypes) ? true : false;
if (!$fieldRepeating) {
$required = isset($value['required']) && is_string($value['required']) && $value['required'] == '1' ? true : false;
$fieldData = array_merge($value, [
'row_id' => $key,
'required' => $required,
'prefix' => self::getFieldPrefix($value),
'suffix' => self::getFieldSuffix($value),
'label' => $value['label'],
'ft_count' => self::getFieldTypeCount($value['type']),
'ft_count_repeatable' => self::getFieldTypeCount($value['type'], true),
'btDirectory' => $blockTypeFolder . DIRECTORY_SEPARATOR,
'btTable' => $btTable,
'block_handle' => $blockHandle,
]
);
if (method_exists($fieldTypeClass, 'on_start')) {
$fieldTypeClass->on_start($fieldData);
}
if ($fieldTypeClass->getRequiredSlug() === true) {
if (isset($value['slug']) && trim($value['slug']) != '') {
// Being sure we have a non-existing slug for the field
$slug_num = 1;
$slug = $value['slug'];
while (in_array($slug, $fieldSlugs) || in_array(strtolower($slug), self::$fieldSlugsBlacklist)) {
$slug = $value['slug'] . '_' . $slug_num;
$slug_num++;
}
$fieldSlugs[] = $slug;
Arguments
"Undefined array key "label""
i get this error when i just want to use static HTML/Picture/Static HTML
/* @var $fieldTypeClass \RamonLeenders\BlockDesigner\FieldType\FieldType */
$fieldTypeClass = new $fieldType['namespace']($fieldType['directory'], $fieldType['pkgHandle'], $fieldType['pkgDirectory'], $fieldType['className']);
$fieldRepeating = isset($value['repeatable']) && trim($value['repeatable']) != '' && $fieldTypeClass->getCanRepeat() === true && isset($postData['fields'][$value['repeatable']]) && array_key_exists('repeatable', $fieldTypes) ? true : false;
if (!$fieldRepeating) {
$required = isset($value['required']) && is_string($value['required']) && $value['required'] == '1' ? true : false;
$fieldData = array_merge($value, [
'row_id' => $key,
'required' => $required,
'prefix' => self::getFieldPrefix($value),
'suffix' => self::getFieldSuffix($value),
'label' => $value['label'],
'ft_count' => self::getFieldTypeCount($value['type']),
'ft_count_repeatable' => self::getFieldTypeCount($value['type'], true),
'btDirectory' => $blockTypeFolder . DIRECTORY_SEPARATOR,
'btTable' => $btTable,
'block_handle' => $blockHandle,
]
);
if (method_exists($fieldTypeClass, 'on_start')) {
$fieldTypeClass->on_start($fieldData);
}
if ($fieldTypeClass->getRequiredSlug() === true) {
if (isset($value['slug']) && trim($value['slug']) != '') {
// Being sure we have a non-existing slug for the field
$slug_num = 1;
$slug = $value['slug'];
while (in_array($slug, $fieldSlugs) || in_array(strtolower($slug), self::$fieldSlugsBlacklist)) {
$slug = $value['slug'] . '_' . $slug_num;
$slug_num++;
}
$fieldSlugs[] = $slug;
Arguments
"Undefined array key "label""
Hi there,
You're best off not using the very very latest PHP version, since that is not confirmed working yet. You could try PHP 8.1 for example.
I have yet to update to PHP 8.2 myself and see what all there is to be fixed. But since this got released in December 2022, I have not been able to do so yet.
Kind regards
Ramon
You're best off not using the very very latest PHP version, since that is not confirmed working yet. You could try PHP 8.1 for example.
I have yet to update to PHP 8.2 myself and see what all there is to be fixed. But since this got released in December 2022, I have not been able to do so yet.
Kind regards
Ramon
Hey me again,
Since I needed to switch PHP version, I went ahead and check the issue. I've updated the Add-On and version 4.1.2 should fix the issue you were having. Try it out by updating the Add-On!
In case you find another issue, do let me know (in a new ticket). Not many people are using PHP 8.2 yet, so you could be one of the few.
I've got many using PHP 8.1 - so in case you need to get going quickly, I'd advice to switch to that. But for sure keep mentioning all the issues you have, since the earlier I know - the earlier a patch can be applied for the issue(s) in question!
If this bug is fixed, also let me know. Then I can close this ticket and in case of future issues, make a new ticket for that.
Have a good weekend :)
Kind regards
Ramon
Since I needed to switch PHP version, I went ahead and check the issue. I've updated the Add-On and version 4.1.2 should fix the issue you were having. Try it out by updating the Add-On!
In case you find another issue, do let me know (in a new ticket). Not many people are using PHP 8.2 yet, so you could be one of the few.
I've got many using PHP 8.1 - so in case you need to get going quickly, I'd advice to switch to that. But for sure keep mentioning all the issues you have, since the earlier I know - the earlier a patch can be applied for the issue(s) in question!
If this bug is fixed, also let me know. Then I can close this ticket and in case of future issues, make a new ticket for that.
Have a good weekend :)
Kind regards
Ramon
Thank U!
the normal Block Designer is working now with PHP 8.2.1
tomorrow i will install the Pro extension, hope that workes good too.
greets, andy
the normal Block Designer is working now with PHP 8.2.1
tomorrow i will install the Pro extension, hope that workes good too.
greets, andy
Can you let me know what version of Block Designer you are on?
Also check for the latest version perhaps, I am assuming something went wrong with getting the latest version of this Add-On!
Kind regards
Ramon