• Resolved HarshS

    (@harshs)


    Hi – I must say that this is a good plugin. It seems to stand what it claims.

    Coming to the topic, I observed the following issue in this plugin from my WordPress log file:

    Undefined variable $tmp_file in wp-content/plugins/local-google-fonts/includes/class-local-google-fonts.php on line 134

    The problem is due to the variable $tmp_file was used without checking whether it was set or not.

    line:134  if ( ! is_wp_error( $tmp_file ) ) {
    line:135    if ( ! is_dir( dirname( $face['file'] ) )

    I hope you will fix it as it is causing a lot of “undefined” warning messages in the log file.

    Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author EverPress

    (@everpress)

    Hi HarshS!

    Thanks for reporting, We’ll provide a fix for this soon!

    Best Regards

    Thread Starter HarshS

    (@harshs)

    Great. Thanks for your Super fast response and fix. I no longer see the warnings in the logs.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Undefined variable $tmp_file in includes/class-local-google-fonts.php’ is closed to new replies.