Support » Plugin: WP-Invoice - Web Invoice and Billing » Template Error

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi again… (sorry but I don’t speak english very well)
    I think it has a issue
    /home/xxx/public_html/wp-content/plugins/wp-invoice/core/ui/Invoice_page_wpi_page_reports.php

    This file is called like uppercase… I edited the line 246 in wp-invoice/core/wpi_ui.php, I changed:
    $file_path = apply_filters( 'wpi_page_loader_path', WPI_Path . "/core/ui/{$current_screen->base}.php", $current_screen->base, WPI_Path . "/core/ui/" );

    with:

    $file = strtolower($current_screen->base);
    $file_path = apply_filters( 'wpi_page_loader_path', WPI_Path . "/core/ui/$file.php", $file, WPI_Path . "/core/ui/" );

    And it seems work fine, now show a jquery error:
    Uncaught TypeError: Object [object Object] has no method ‘tabs’
    in wp-invoice/core/ui/invoice_page_wpi_page_settings.php line 64

    There is a way to fix both errors. Thanks.

    Plugin Contributor Anton Korotkoff

    (@anton-korotkoff)

    Hello,

    what version of the plugin do you use? We do not have any uppercase symbols in template file names in current stable version. You can try reinstalling plugin from scratch.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Template Error’ is closed to new replies.