Fatal error "unclosed slots"

ThemeBurn SupportForumsOpenCart ThemesPavilion OpenCart ThemeFatal error "unclosed slots"

This topic has been marked as not resolved.

Hi,

I have following error:

Catchable fatal error: Argument 1 passed to Theme_Catalog_ProductPlugin::modifyProducts() must be an array, null given, called in

February 24, 2015 at 7:22 pm #38689

I only get this when I open up a category – i.e. [./index.php?route=product/category&path=xxx]

February 25, 2015 at 9:29 am #38697

Does this appear on categories with no products only ?

March 3, 2015 at 1:13 pm #38869

No, it appears on all categories.

March 3, 2015 at 1:19 pm #38871

Any ideas what causes this?

March 11, 2015 at 8:23 am #39137

What I see is


Fatal error: Call to a member function get() on a non-object in /home/onlilyco/public_html/pavilion/index.php on line 107

Which is not "Fatal error "unclosed slots". Is this the error you are talking about in this thread ?

March 11, 2015 at 11:40 am #39144

Yes, is is:

Fatal error: Call to a member function get() on a non-object in /home/onlilyco/public_html/pavilion/index.php on line 107

But I found somewhere a way to display the “Real” error (when I changed in code) and then it displayed the one I first wrote.

It is anyway an error that I think is related to the theme.

March 11, 2015 at 11:47 am #39148

Here is the link:

http://forum.opencart.com/viewtopic.php?t=13686

March 11, 2015 at 11:57 am #39155

The

Fatal error: Call to a member function get() on a non-object in /home/onlilyco/public_html/pavilion/index.php on line 107
is not related to the theme.

The "Fatal error "unclosed slots" should be related to the theme, but I wasn’t able to reproduce it. Where does it appear exactly ?

March 11, 2015 at 12:55 pm #39159

When I disable the euro_handler (as described in the link above) I get the real error message. In index.php change:

// Error Handler
set_error_handler(‘error_handler’);

to

// Error Handler
//set_error_handler(‘error_handler’);

Error message:
Fatal error: You have unclosed slots : array ( 0 => ‘product/category.subcategory_listing’, ) in /home/onlilyco/public_html/pavilion/tb_themes/pavilion/library/ViewSlot.php on line 30

You can see it if you follow this link:
http://pavilion.onlinephilately.com/utvalda-objekt

March 11, 2015 at 1:01 pm #39160

Can you provide us with FTP details so we can check it ?

March 11, 2015 at 1:04 pm #39161
March 11, 2015 at 4:05 pm #39174

Hi,

we fixed the issue. We made a small change in catalog/view/theme/pavilion/template/product/category.tpl. It will be included in our next update also.

BR,
ThemeBurn team

March 17, 2015 at 9:27 am #39337

Thank you!

March 17, 2015 at 9:29 am #39339

Glad we’ve helped :)

BR,
ThemeBurn team

March 24, 2015 at 1:37 pm #39498
Viewing 15 posts - 1 through 15 (of 15 total)
  • You must be logged in to reply to this topic.