How can we help?

If you are looking for support for our PokaTheme, this is the place!

Home Forums Poka Review Plugin support PHP Warning: filemtime()

Tagged: ,

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #17688
    nir levi
    Participant

    Hello,

    I see in log this error:

    [STDERR] PHP Warning: filemtime(): stat failed for https://WEBSITE/wp-content/plugins/poka-review/public/css/poka-review-main.css in /var/www/html/wp-content/plugins/poka-review/public/class-poka-review-public.php on line 96

    How to fix it?

    #17689
    nir levi
    Participant

    Found solution:

    Need change line 96:

    wp_enqueue_style( $this->plugin_name . ‘-main’, plugin_dir_url( __FILE__ ) . ‘css/poka-review-main.css’, array(), filemtime( plugin_dir_url( __FILE__ ) . ‘css/poka-review-main.css’ ), ‘all’ );

    To:

    wp_enqueue_style( $this->plugin_name . ‘-main’, plugin_dir_url( __FILE__ ) . ‘css/poka-review-main.css’, array(), filemtime( plugin_dir_path( __FILE__ ) . ‘css/poka-review-main.css’ ), ‘all’ );

    #17730
    admin
    Keymaster

    Thank you!

    #18067
    admin
    Keymaster

    This is just an update that we have released a new Poka Review plugin version and we have included a fix for this issue, too. Feel free to check your account downloads and get the latest version!

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.