Title: Undefined variable $is_folder in&#8230;
Last modified: February 16, 2023

---

# Undefined variable $is_folder in…

 *  Resolved [michaelpb](https://wordpress.org/support/users/michaelpb/)
 * (@michaelpb)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/undefined-variable-is_folder-in/)
 * Hello, we just updated our website PHP version from 7.4 to 8.1. Now when I go
   to the page for our files on the frontend, I receive two warnings pertaining 
   to “Undefined variable $is_folder in…on line 317” and “Undefined variable $is_external
   in…on line 317”. Would you be able to help me resolve this issue?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fundefined-variable-is_folder-in%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [patrickposner](https://wordpress.org/support/users/patrickposner/)
 * (@patrickposner)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/undefined-variable-is_folder-in/#post-16509286)
 * Hey [@michaelpb](https://wordpress.org/support/users/michaelpb/),
 * should be fixed now!
 * Best regards,
 * Patrick
 *  [eric057](https://wordpress.org/support/users/eric057/)
 * (@eric057)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/undefined-variable-is_folder-in/#post-16709534)
 * Hello, I have a similar error on a website with PHP version 8.1. , I get three
   warnings for “Undefined variable $is_external in…on line 313” and “Undefined 
   variable $is_folder in…on line 313” repectivly . Would you be able to assist 
   me resolve this?
 * Using Version 1.2.2.9 of the plugin.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Undefined variable $is_folder in…’ is closed to new replies.

 * ![](https://ps.w.org/filr-protection/assets/icon-256x256.png?rev=2280020)
 * [Filr - Secure document library](https://wordpress.org/plugins/filr-protection/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/filr-protection/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/filr-protection/)
 * [Active Topics](https://wordpress.org/support/plugin/filr-protection/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/filr-protection/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/filr-protection/reviews/)

## Tags

 * [php](https://wordpress.org/support/topic-tag/php/)
 * [undefined variable](https://wordpress.org/support/topic-tag/undefined-variable/)

 * 2 replies
 * 3 participants
 * Last reply from: [eric057](https://wordpress.org/support/users/eric057/)
 * Last activity: [3 years, 1 month ago](https://wordpress.org/support/topic/undefined-variable-is_folder-in/#post-16709534)
 * Status: resolved