Skip to content

Fatal error: Call to undefined function parseFromFile() #18

@jamminjames

Description

@jamminjames

I installed via Composer, and in the file I have:

require_once __DIR__ . '/vendor/autoload.php';
use LukeMadhanga\DocumentParser;

I'm trying to parse using: $parse = parseFromFile($file,'text/rtf');

I'm getting Fatal error: Call to undefined function parseFromFile()

Should I be using something else at the top of the file?

Thanks for any help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions