Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter irvinparnecio

    (@irvinparnecio)

    This is the error i’ve encounter

    Notice: Undefined variable: attachments in /home/bysoftgr/public_html/wp-content/plugins/mailpress/mp-includes/class/MP_Pluggable.class.php on line 9

    Notice: Undefined variable: attachments in /home/bysoftgr/public_html/wp-content/plugins/mailpress/mp-includes/class/MP_Pluggable.class.php on line 10

    Warning: require_once(/home/bysoftgr/public_html/wp-content/plugins/web-invoice/lib/dompdf/include/swift_dependencycontainer.cls.php) [function.require-once]: failed to open stream: No such file or directory in /home/bysoftgr/public_html/wp-content/plugins/web-invoice/lib/dompdf_config.inc.php on line 194

    Fatal error: require_once() [function.require]: Failed opening required ‘/home/bysoftgr/public_html/wp-content/plugins/web-invoice/lib/dompdf/include/swift_dependencycontainer.cls.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/bysoftgr/public_html/wp-content/plugins/web-invoice/lib/dompdf_config.inc.php on line 194

    I found the Bug and fixed them!

    dompdf_config.inc.php
    Line 194

    Change from:

    $filename = mb_strtolower($class) . ".cls.php";
    require_once(DOMPDF_INC_DIR . "/$filename");

    Change to:

    $filename = DOMPDF_INC_DIR . "/" . mb_strtolower($class) . ".cls.php";
    if ( is_file($filename) )
    require_once($filename);

    now it works!
    enjoy!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Web Invoice – Invoicing and billing for WordPress] Error Sending to clients email, after th’ is closed to new replies.