Shape 5

Wordpress Club Themes => Traction - Club => : meldgaard June 23, 2014, 05:21:47 AM



: Warning: Illegal offset type in isset or empty
: meldgaard June 23, 2014, 05:21:47 AM
Hi,

After an update of S5 Image And Content Fader, this problem came:

Warning: Illegal offset type in isset or empty in /home/fa180124/public_html/wp-includes/pomo/translations.php on line 72


                   function translate_entry(&$entry) {
                      $key = $entry->key();
Line 72-->      return isset($this->entries[$key])? $this->entries[$key] : false;
                   }


How can I fix this?


: Re: Warning: Illegal offset type in isset or empty
: Tristan Rineer June 23, 2014, 06:41:14 AM
That seems to be an error with the core WP translation engine, and unfortunately it doesn't give enough detail about why it's having the problem.

I don't have that error on my testing server, so it's going to be difficult to troubleshoot, but I'll try to have a fixed version published in a day or two, depending on how long it takes to go through the code and figure out what the problem is..

Where exactly is the error appearing?  That may help me figure out where it is in the code.


: Re: Warning: Illegal offset type in isset or empty
: meldgaard June 23, 2014, 06:48:07 AM
That seems to be an error with the core WP translation engine, and unfortunately it doesn't give enough detail about why it's having the problem.

I don't have that error on my testing server, so it's going to be difficult to troubleshoot, but I'll try to have a fixed version published in a day or two, depending on how long it takes to go through the code and figure out what the problem is..

Where exactly is the error appearing?  That may help me figure out where it is in the code.

It is appearing on every page on this site: http://pro-service.dk/


: Re: Warning: Illegal offset type in isset or empty
: Tristan Rineer June 24, 2014, 06:43:10 AM
Can you look at the widgets page in the admin and tell me if there is an error on the fader widget itself?  I think I may have found where the error is coming from, but as I said before, I have no issues on my testing server, so I have no way to test my theory.


: Re: Warning: Illegal offset type in isset or empty
: meldgaard June 24, 2014, 08:22:14 AM
Can you look at the widgets page in the admin and tell me if there is an error on the fader widget itself?  I think I may have found where the error is coming from, but as I said before, I have no issues on my testing server, so I have no way to test my theory.

The error is on every page in admin. When I deactivate S5 Image And Content Fader plugin, the error disappears.


[edit]
Now the error is showing in the widget...
[/edit]


: Re: Warning: Illegal offset type in isset or empty
: Tristan Rineer June 24, 2014, 01:20:04 PM
That's what I needed to know.  Ok, if the error is showing in the widget, then I'm pretty sure I know what is causing it.  I'll try to have a new version published by sometime tomorrow.


: Re: Warning: Illegal offset type in isset or empty
: meldgaard June 30, 2014, 06:22:50 AM
Do you have a status?


: Re: Warning: Illegal offset type in isset or empty
: Tristan Rineer June 30, 2014, 07:16:28 AM
There have been updates to the plugin since my last response; WordPress should have asked you to upgrade already.


: Re: Warning: Illegal offset type in isset or empty
: meldgaard July 01, 2014, 06:50:32 AM
There have been updates to the plugin since my last response; WordPress should have asked you to upgrade already.


Thank you, that worked :)