Error in change of category when creating and article

More
3 weeks 5 days ago #73899 by ebura
I'm using the latest version (3.3.10) in Joomla 5.2.4.

When I create a new Joomla article and change the category (and the article doesn't yet exist/hasn't been saved), I get these two errors:
[27-Feb-2025 09:57:04 Europe/Lisbon] PHP Warning:  Undefined variable $attribs in (...)/plugins/system/pagebuilderck/pagebuilderck.php on line 139
[27-Feb-2025 09:57:04 Europe/Lisbon] PHP Warning:  Undefined variable $attribs in (...)/plugins/system/pagebuilderck/pagebuilderck.php on line 140

I corrected it at the system plugin in line 139, adding to the condition:
Code:
isset($attribs)

like this:
Code:
if (isset($attribs) && ! is_array($attribs)) {

Is this a good solution? (if so, could you update the source code, so that I don't have to update it each time you supply a new version?)

Please Log in or Create an account to join the conversation.

More
3 weeks 5 days ago #73900 by ced1870
Hi
thank you for your feedback, I will check that and add a fix in the next version
CEd

Joomlack Webmaster and Developer

Please Log in or Create an account to join the conversation.

Time to create page: 0.198 seconds

Fast and powerful creation, customizable and responsive.

Read More

We have 1093 guests and 2 members online