Error Warning Message after update

Events happening in the community are now at Drupal community events on www.drupal.org.
msidibe03's picture

Hi,

I updated to OpenPublish 1.7.1, everything went fine, but I keep seeing on every pages the following message:

warning: preg_match() expects parameter 2 to be string, array given in
/public_html/includes/bootstrap.inc on line 777

These are the lines from bootstrap.inc:

function drupal_validate_utf8($text) {
if (strlen($text) == 0) {
return TRUE;
}
return (preg_match('/^./us', $text) == 1);
}

Also the Featured Articles title on the frontpage appears twice, one under the other.

Than you for the help.

Comments

Which version did you update

irakli's picture

Which version did you update from?

Did you follow the instructions on openpublish website?

Thank you

.............................................
http://twitter.com/inadarei

Updated from version 1.7.0

msidibe03's picture

Yes I followed the instructions.

Except that some of the modules that needed to be enabled in order were already done, also in the Features section there is

OP Video
OP Video Feature
Incompatible with: op_videos

and

Op Videos
Op Videos Feature
Incompatible with: op_video

and none of the two Revert components.

Thanks

Something is not right. There

irakli's picture

Something is not right. There should not be any such thing as "OP Video Feature".

Please delete the sites/all/modules/openpublish_features folder, replace it with the corresponding folder from OP distribution and clear cache.

.............................................
http://twitter.com/inadarei

It worked! But still one little issue

msidibe03's picture

Thanks Irakli. I did what you said and working like a charm.

I checked the OP 1.7.0. files and folders and the feature was video and not (videos) which created the duplicate.

The only issue left is on the frontpage where I keep seeing Featured Articles as shown below.

Featured Articles
=============

Featured Articles
=============

When I remove the title in views, then only sees the double line without any title

===============

Thanks

Leave the title in the view,

irakli's picture

Leave the title in the view, but edit the block settings of the corresponding block (in the block listing) and set titile to <none> there.

.............................................
http://twitter.com/inadarei

Thanks!

msidibe03's picture

Thanks bro.

there was no title in the block, but still added the and fixed the issue.

OpenPublish

Group organizers

Group categories

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: