Title: Undefined variable
Last modified: August 20, 2016

---

# Undefined variable

 *  Resolved [KarlEngstrom](https://wordpress.org/support/users/karlengstrom/)
 * (@karlengstrom)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/undefined-variable-1/)
 * I’m watching the debug.log load up with the following error:
    Undefined variable:
   upload_path in /home/user/public_html/wp-content/plugins/wordpress-https/lib/
   WordPressHTTPS/Module/Parser.php on line 116
 * I’m also seeing mega lines of trash at the bottom of secured pages in Chrome 
   if the user is logged in.
 * Anyone else?
 * [http://wordpress.org/extend/plugins/wordpress-https/](http://wordpress.org/extend/plugins/wordpress-https/)

Viewing 1 replies (of 1 total)

 *  Thread Starter [KarlEngstrom](https://wordpress.org/support/users/karlengstrom/)
 * (@karlengstrom)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/undefined-variable-1/#post-3290148)
 * I found what was apprently the issue, and not with WPHTTPS at all.
    Jigoshop 
   had writen to my .htaccess file and somewhere along the lines I developed DOS
   CRLF characters in it, like so:
 *     ```
       ^M
       #Rewrite jigoshop Checkout to https^M
       RewriteCond %{HTTPS} off^M
       RewriteCond %{REQUEST_URI} /checkout/^M
       RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [L]^M
       ^M
       #traffic to http://, except /checkout^M
       RewriteCond %{HTTPS} on^M
       RewriteCond %{REQUEST_URI} !(/checkout/)^M
       RewriteRule (.*) http://%{HTTP_HOST}%{REQUEST_URI} [L]^M
       ```
   
 * It was screwing up a myriad of things 😛
    I removed all that junk from the htaccess
   file & all is good.

Viewing 1 replies (of 1 total)

The topic ‘Undefined variable’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wordpress-https_bec2c9.svg)
 * [WordPress HTTPS (SSL)](https://wordpress.org/plugins/wordpress-https/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordpress-https/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordpress-https/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpress-https/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpress-https/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpress-https/reviews/)

 * 1 reply
 * 1 participant
 * Last reply from: [KarlEngstrom](https://wordpress.org/support/users/karlengstrom/)
 * Last activity: [13 years, 5 months ago](https://wordpress.org/support/topic/undefined-variable-1/#post-3290148)
 * Status: resolved