Attempt To Assign Property "source" On Null - Question | JoomShaper

Attempt To Assign Property "source" On Null

BP

Bruce Paine

EasyStore 2 days ago

Hi JoomShaper Support Team,

I am really struggling and hope you can assist.

My home page lists the first 9 'latest products'.

It has been working fine until today but started showing the message: "Attempt to assign property "source" on null".

I have enabled Joomla debug and set error reporting to maximum.

That revealed the PHP code "JROOT/components/com_easystore/sppagebuilder/common/productlist/site.php:73"

At line 73, I am able to bypass the error with an if statement.

Note that there are also menu items shop/mens and shop/ladies. The 'mens' product listing is also stopping with the same error message.

0
7 Answers
Ziaul Kabir
Ziaul Kabir
Accepted Answer
Support Agent 1 day ago #223124

We have identified the issue, which occurs due to array filtering. In some cases, when the first variation index contains an out-of-stock item or a zero value, it triggers this error. We expect this to be addressed and resolved in an upcoming release.

Thank you.

0
BP
Bruce Paine
Accepted Answer
2 days ago #223109

I have also tried changing Category, Updating images, replacing/simplifying product description, forced saves and adding attributes but nothing seems to help.

Thanks in advance for your help.

0
Ziaul Kabir
Ziaul Kabir
Accepted Answer
Support Agent 2 days ago #223110

Hello,

Thanks for reaching out to us. Could you please share temporary administrator access to your Joomla backend? You can provide the credentials securely in the hidden content section. Also, please take a full backup of your site before we make any changes.

Once I have access, I’ll investigate further and see what’s causing the issue. Let me know once you’ve shared the details!

Best regards,

0
BP
Bruce Paine
Accepted Answer
2 days ago #223112

Sorry - your forum isn't letting me edit posts.

I added the login details but they didn't save.

Here they are again...

0
BP
Bruce Paine
Accepted Answer
2 days ago #223113

You can go ahead. I cannot run a backup now but the most recent is acceptable.

0
BP
Bruce Paine
Accepted Answer
2 days ago #223111

Also note, I have enabled Joomla debug and error reporting maximum.

This reveals: JROOT/components/com_easystore/sppagebuilder/common/productlist/site.php:73

The statement on line 73 fails.

From there I have been able to identify these sample products that are failing:

product_id":198 product_id":200 product_id":251 product_id":64 product_id":66 product_id":68

0
BP
Bruce Paine
Accepted Answer
1 day ago #223137

It's good to know that the issue has been identified and will be addressed.

In the meantime, I will work around the problem.

Thanks.

0