125 Posts
root
12 days ago
7
Topic

I am using PHP 8.2, Joomla 4.4.6, and Seblod 4.3.1.
If I try to update Seblod to the latest version 4.4.0 from 4.3.1, all views break for any content or articles created with Seblod, the website only displays the following error:


0
Call to a member function get() on array


If I go to any content type and edit the content by removing all the fields, the error no longer occurs. The issue arises when trying to view the fields of any kind of content (the content view of a content type).


Any help would be appreciated
Best regards

Get a VIP membership
151 Posts
pixelpixel
11 days ago
3
Level 1

Hi,

maybe a stupid question: but did you test removing the fields one by one? Maybe there is only one field which is causing the problem (maybe outdated field type?) 🙂

Best regards

125 Posts
root
11 days ago
2
Level 2

Hello, thank you for your fast response.

Yes, that's the first thing I tried to rule out having any outdated field as you rightly mentioned. I removed all the fields one by one until, finally, only a simple text field that provided the title of the article remained, and the same error still occurred. When I removed them all, there was no content, but the error disappeared.

Best regards

Adonay

151 Posts
pixelpixel
11 days ago
1
Level 3

Did you try another Joomla Frontend-Template for testing? Or deactivated all modules?

But I must say that I didn't tested the newest Seblod version yet. Maybe it is indeed a new problem with the latest version 🤷🏻

Best regards

125 Posts
root
11 days ago
0
Level 4

Yes, thank you. I just tested it.

I have disabled all the modules and also changed the template to Cassiopeia. The error still appears. If I put Seblod in debug mode, nothing shows up either because the page doesn't get rendered. If I set the Apache server log level to debug, there's no trace of the error either.

Kind regards

125 Posts
root
11 days ago
0
Level 1

Activating Joomla's own debugger after updating Seblod to version 4.4.0, shows this error regarding the Content - Page Navigation plugin:

	ERROR 0 - Call to a member function get() on array in /plugins/content/pagenavigation/src/Extension/PageNavigation.php:56

If I disable the pagination plugin, the next error comes from the Content - Vote plugin:

	ERROR 0 - Call to a member function get() on array in /plugins/content/vote/src/Extension/Vote.php:99

If I disable the Content - Vote plugin, the next error comes from the article html view.

	ERROR 0 - Call to a member function get() on array in /components/com_content/src/View/Article/HtmlView.php:240

The Apache error log shows no errors, and the access log displays a 500 Internal Server Error.

Best regards.

44 Posts
StanislavR
11 days ago
0
Level 1

Hi,

I updated Seblod 4.3.1 => 4.4.0 (joomla 4.4.5, PHP 8.1). I have many types of content (5-6)

1. the Content view (viewing the full view of the material) does not work (error 404) - all types of content

2. editing of the material some (not all) on front site does not work (error 404)

3. some (not all) materials does not open in the administrative part of the site - error - Undefined constant "field"

Part 2

I updated Seblod 4.3.1 => 4.4.0 (joomla 4.4.4, PHP 8.1). Clean site.Only standart types of content, Casiopea

1. the Content view (viewing the full view of the material) does not work !!!! Error - Call to a member function get() on array

2. front editing of the material  - OK

3. open in the administrative part of the site - OK

Stanislav

125 Posts
root
10 days ago
0
Level 1

Indeed, I have done a similar test. I installed Joomla 4.4.8 from scratch. I installed Seblod 4.3.1. I created a menu that pointed to the creation of a new Seblod article. I created the article and then viewed it. Everything went well. Then I updated to Seblod 4.4.0, and the entire site can no longer be viewed. The Apache server access log only reports Error 500, and the website using the Cassiopeia template shows: Error 0 Call to a member function get() on array.

Better not to update to Seblod 4.4.0 for now.

Best regards.

Get a VIP membership