"Warning: Illegal string offset" in Wordpress

Everything concerning the Wordpress/Joomla/Drupal plugins
Post Reply
User avatar
Jijel
Posts: 10
Joined: Sun Dec 09, 2007 12:17 pm
Contact:

"Warning: Illegal string offset" in Wordpress

Post by Jijel » Fri Apr 27, 2018 7:49 pm

Hi all,

after uploading a ggpkg file to Wordpress ( 4.9.5 with ggpkg plugin 1.4.5) I'm getting lots of "Warning: Illegal string offset" warnings referring to ggpkg-import.php in the media library entries for ggpkgs. As far as I can tell the warnings have something to do with how metadata is imported from the pkges. The files still work but it is pretty annoying because the messages take up a lot of space. This also happens with the ggpkg test files. The only thing that appears to be broken (if due to this error I'm nopt 100% sure) is setting a master pano via the settings.

Is there a way to get rid of the warnings?

Kind regards,

Chris

User avatar
Hopki
Gnome
Posts: 8627
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Re: "Warning: Illegal string offset" in Wordpress

Post by Hopki » Mon Apr 30, 2018 3:23 pm

Hi Chris,
I have raised a bug report for this.
Regards,
Hopki

User avatar
Jijel
Posts: 10
Joined: Sun Dec 09, 2007 12:17 pm
Contact:

Re: "Warning: Illegal string offset" in Wordpress

Post by Jijel » Mon Apr 30, 2018 6:14 pm

Thanks. I'll add a screenshot, maybe it helps.

2018-04-30.png
Screenshot
2018-04-30.png (204.22 KiB) Viewed 1055 times
Kind regards,

Christian

User avatar
Hopki
Gnome
Posts: 8627
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Re: "Warning: Illegal string offset" in Wordpress

Post by Hopki » Sun May 13, 2018 9:12 pm

HI Christian,
The plugin has been updated but is still 1.4.5. Please remove the one from your Wordpress site and install the new one.
Let me know how you get on.
Regards,
Hopki

User avatar
Jijel
Posts: 10
Joined: Sun Dec 09, 2007 12:17 pm
Contact:

Re: "Warning: Illegal string offset" in Wordpress

Post by Jijel » Mon May 14, 2018 5:44 pm

Hi Hopki,

thanks for looking into the issue. Unfortunately the Problem persists.

I deleted the old plugin, installed the new one (from https://ggnome.com/ggpkg). Uploaded a pano: "Warning: Illegal string offset 'file' in /homepages/12/d65739805/htdocs/4wolf/wp-content/plugins/ggpkg-import/ggpkg-import.php on line 586".

Kind regards,

Christian

User avatar
Hopki
Gnome
Posts: 8627
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Re: "Warning: Illegal string offset" in Wordpress

Post by Hopki » Mon May 14, 2018 11:35 pm

Hi,
Iv tested this with a standard build of Wordpress and the plugin and GGPKG is working ok.
When did the start?
Did you do an update with other plugins in your Wordpress site?
Not sure how far we got with this but did you send me your ggpkg, if not can you.
Regards,
Hopki

User avatar
Jijel
Posts: 10
Joined: Sun Dec 09, 2007 12:17 pm
Contact:

Re: "Warning: Illegal string offset" in Wordpress

Post by Jijel » Tue May 15, 2018 1:14 pm

I just found the source of the problem: Themes. Apparently some themes do something the ggpkg-plugin doesn't like. "Graphene" for example produces the error for me.

Kind regards,

Christian

User avatar
Hopki
Gnome
Posts: 8627
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Re: "Warning: Illegal string offset" in Wordpress

Post by Hopki » Tue May 15, 2018 3:32 pm

Hi Christian,
Thanks for finding this, I will add this to the know issues list.
Cheers,
Hopki

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests