Search

Guys, sometimes i'm getting the following error:

Symphony Warning: strpos() expects parameter 1 to be string, array given

What does it mean? Who's causing it?

This time it was in OEmbed extension: An error occurred in /var/www/proact2/docs/extensions/oembed_field/fields/field.oembed.php around line 631

Sym 2.3, firefox or chrome - doesn't matter. All the extensions are of latest revisions :-(

What version of Oembed are you using?

1.5

I bumped into a similar issue yesterday, seems like a php update (not sure what update) is causing this. I found this thread on the forum. Seems like this fix solved it.
So changing KEYentryid(entryid) to UNIQUE KEYentryid(entryid) should fix the problem.
But i think the errormessage shows because of duplicated entry id's in the database. You'll have to search for them and give the duplicates a unique id. That fixed it for me... Not sure that'll fix it in this case, but you could give it a try....

So if I'm not alone in my sorrow, why big orchestra bosses still keeping silence? :-)

If this really is a incopatible issue with the latest php version (not sure) I guess we will be uniting soon in our sorrow... ;-)

Create an account or sign in to comment.

Symphony • Open Source XSLT CMS

Server Requirements

  • PHP 5.3-5.6 or 7.0-7.3
  • PHP's LibXML module, with the XSLT extension enabled (--with-xsl)
  • MySQL 5.5 or above
  • An Apache or Litespeed webserver
  • Apache's mod_rewrite module or equivalent

Compatible Hosts

Sign in

Login details