Support has been upgraded!
The Support Forum is closed. Not to worry! Providing the top quality support you expect and we're known for will continue! We're not ending support, just changing where you submit requests. This will provide you with the best experience possible.
Premium Support
Have you purchased an addon for Connections such as one of our premium templates or extensions with a valid license and you need help?
Please open a Support Ticket in your user account.
Free Support
Are you using the free Connections plugin? Don't worry, you are still very important to us! We are still providing you with the same high quality support that we're known for.
Please open a new support topic in the WordPress support forums for Connections.
Tagged: 8.3.1, error, php, update, wp_list_pluck
- This topic has 19 replies, 3 voices, and was last updated 7 years, 8 months ago by
Andy.
-
AuthorPosts
-
07/11/2015 at 11:45 am #339895
Andy Castle
ParticipantThe following error has appeared directly after the 8.3.1 update.
Warning: Illegal string offset ‘name’ in /home/storriuk/public_html/wp-includes/functions.php on line 3220I’m not sure what that code is doing – the preceding comments & code from functions.php is attached if it helps (line 3220 is the last line: $newlist[] = $value[ $field ];). The functional problems that arise on the site are a conflict with Timely All In One Calendar which no longer has pop-up content and has lost its map display. That was all working fine before the update.
I think I’m going to have to restore to the pre-update position – I see from the forum that there has been a problem with this update.
Andy.
Attachments:
You must be logged in to view attached files.07/11/2015 at 10:56 pm #339902Steven Zahm
Keymaster@ Andy
Well, there is only 10 places in Connections where
wp_list_pluck()
is used. Only 8 of those that have the param set for index key toname
. Of those 8, only 2 even have the opportunity to run unless you are on the Connections : Tools admin page because that file that contains those instances are only included in the file for that page when you are actually on that page. The remaining 2, one is a validation function. That validation function is only ever used on Connections : Tools admin page. So that last one is the only possibility and that can only happen if theclass.log-email.php
file does not exist. And if that file did not exist Connections would crash causing PHP to crash.Can you check this path to see if that the file is not empty?
../wp-content/plugins/connections/includes/log/
If it is empty, then WordPress failed to install the update. It’s rare but can happen. If that is the case, I suggest deleting and reinstalling Connections.
If it is not empty, please go to the Connections : Tools admin page and click the Logs tag. The top drop down should have two options, System Email and System Info Email. Does it have those two?
If it does, go to the System Info tab and send yourself a copy of the system info. After you do, go back to the Logs tabs. Does that email show in the log?
That said…
That error is not very likely to cause Timely All In One Calendar to stop functioning correctly. Something else would be the cause. Please share a link with me of the page having the issue. It sounds like a javascript error, something not likely origination from Connections.
There is no known issues with this update. In 8.3 there was an issue that would affect only those whose host is still running a very, very old version of PHP, that was corrected in the 8.3.1 release which is the version you updated to.
I fully expect some rare edge case bugs, seems there always are due to the wide diversity of hardware and software versions. So maybe we’ve stumbled on to one of those. But so far the success rate of updated for 8.3.x is in the ballpark of 99.998% which is pretty good.
Any way please share that link with me and I’ll take a look as soon as possible.
07/12/2015 at 3:12 am #339903Andy Castle
ParticipantHi Steve,
Thanks for the response. Here are the answers to your questions:- ../wp-content/plugins/connections/includes/log/ contains 4 files:
class.log-email.php
class.log-stateless.php
class.log.php
inc.log-email-detail.php - Logs Tab:
System Email is present but not System Info Email. There are no items in the System Email log. Because System Info Email is not present I didn’t try sending a copy of the system info. - Page Links
A number of pages have Timely events in the sidebar e.g. the home page
http://www.storrington.org.uk These do not display the hoverover pop-ups.
The main calendar page
http://www.storrington.org.uk/attractions/events/
does not display the hoverover pop-ups. Also the events cannot be opened.
The events can be opened from the sidebar e.g. on the home page, but they don’t display the google map (reference box and link but no display):
http://www.storrington.org.uk/event/storrington-summer-festival-2/?instance_id=265
This stuff was all working up to the point I did the update to 8.3.1, but maybe something else went wrong during the update. The plugin update log seemed OK.
Thanks for your help.
Andy.07/12/2015 at 9:22 am #339912Steven Zahm
Keymaster@ Andy
Well, I was wrong about one thing, the drop down should only have the one item. The “System InFo” email should show as an option in the Filter drop down. Apologies for the misinformation!
I looked at the site. It definitely is a javascript error but that is only because that very same error is happening in the response that returns the javascript file for Timely All In One Calendar. Looks like we did stumble on one of those edge case plugin conflicts.
I’ll have to dig into their plugin to see why this error would show up in their file. Is this the plugin you are using?
It’s the only Timely Calendar plugin I could find via a quick Google search. If it isn’t, could you send me a copy so I can debug this issue?
07/12/2015 at 10:23 am #339913Andy Castle
ParticipantHi Steve,
The plugin is All In One Event Calendar by Time.ly. Maybe this link is useful:
https://wordpress.org/plugins/all-in-one-event-calendar/developers/I had several problems with conflicts between this (and another calendar plugin) with the theme I’m using which Aegaeus by HB-Themes. On advice from HB-Themes there is custom CSS in the theme options and a modified single-ai1ec-event.php module in a child theme.
I don’t have a great deal of experience at this: is there any possibility that a WordPress plugin update could trigger a problem elsewhere in the site configuration? By the way, it was only the Connections 8.3.1 plugin that was updated.
I’m not convinced of the stability of the overall site following the update and I wonder if it wouldn’t be best to restore the home directory and sql database (I have back from immediately before the plugin update), see if it’s a stable working solution and then try the Connections plugin update again.
Let me know what you think.
Andy.
07/12/2015 at 11:33 am #339914Andy Castle
Participant07/12/2015 at 11:50 am #339915Steven Zahm
Keymaster@ Andy
Thanks for the link to the plugin. That does help. I’ve installed it and have not yet been able to replicate the error But I’ve only begun to dig in.
There is nothing unstable about your site in regards to the update. There would be nothing to gain by restoring the home directory and db. If you want to roll back your site to 8.2.10, you can do that safely by deactivating and deleting Connections and then manually reinstall 8.2.10. Here’s the link to the zip file.
Now that I know the plugin conflict and where the error is, after I am able to duplicate it, I should be able to fix it.
Before you roll back Connections to 8.2.10, can you please paste the system info into a text file along with an export of the Connections settings? Both can be found on the Connections Tools admin page.
Attach these as text files to a private reply. Thanks!
07/12/2015 at 11:54 am #339916Steven Zahm
Keymaster@ Andy
Also, can you paste the contents of that modified single-ai1ec-event.php module into a text file? It is possible there is something in that custom module which is the root cause of the conflict and could be why I can not replicate the error as of yet.
07/12/2015 at 12:15 pm #339917Andy Castle
ParticipantThis reply has been marked as private.07/12/2015 at 12:21 pm #339920Andy Castle
ParticipantThis reply has been marked as private. - ../wp-content/plugins/connections/includes/log/ contains 4 files:
-
AuthorPosts
You cannot reply to this support topic. Please open your own support topic.