We can't use module_load_include() inside hook_requirements().
That is why while installation the module within installation profile (install.php) a fatal error appears.


Here is a patch.

new741 bytes


new523 bytes

When installing through a profile "Call to undefined function plupload_library_path()..." appears. With the above patch fixing the hook requirements it solves it but there is a"Call to undefined function db_result()..." error because the database does not exist yet.

The patch below bypasses the requirement if it is installed through a profile.

Can you conbine bot patches in one?

Assigned:danylevskyi» Unassigned
Status:Needs review» Reviewed & tested by the community

#3 works great!

Status:Reviewed & tested by the community» Fixed

Commited. Thanks!

Status:Fixed» Closed (fixed)

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

Issue summary:View changes

no patch currently :(