Fatal error: Call to undefined function _opensearch_check_plain() in /var/www/sites/all/modules/opensearch/opensearch.module on line 267

Comments

agharbeia’s picture

I confirm this error.

The function definition in opensearch.module is "opensearch_check_plain", sans the initial underscore, as the name.

Patching this module by changing the function definition resolves the issue.

bennos’s picture

Status: Active » Reviewed & tested by the community

removing the underscore solves the issue.

changing the status.

Anonymous’s picture

Title: Error after upgrade » Code is using wrong function names
Anonymous’s picture

Status: Reviewed & tested by the community » Fixed

I changed the code, and committed in the development snapshot; I also created a new release (version 6.x-1.4-beta1).

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

lord_atreide’s picture

Status: Closed (fixed) » Patch (to be ported)

The current recomended code in Drupal Modules is the wrong 6.x-1.3 which is unusable. I suggest to backport changes in 6.x-1.4-beta1 or consider this version as the stable one.

The current behaviour of this module is broken as is.

wiifm’s picture

I fully agree with @lord_atreide - having downloaded and then turn on the module (version 1.3 'stable') to be confronted with a fundamental PHP error, is just plain wrong.

The 1.4 beta1 release needs to be on the modules homepage as stable (why not call it 1.4?)

avpaderno’s picture

Status: Patch (to be ported) » Fixed

It is not possible to port the fix that is present in version 6.x-1.4-beta1 to a pre-existing version; this is how Drupal release system works.

wiifm’s picture

@kiamlaluno but you can release a new stable version so that users are not confronted with a PHP error!

dave reid’s picture

@wiifm: You can download it yourself at http://drupal.org/node/925690. Because the 6.x-1.4 version is still beta, our release system doesn't show it on the project frontpage.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.