PhiRhythmus / Tanx

Freebie: “Tanx” Beautiful Wordpress Blogging Theme
http://phir.co/Tanx
134 stars 31 forks source link

WP 4.7 Vagrant vccw box issue? #5

Open sqfaru opened 7 years ago

sqfaru commented 7 years ago

Can't get it work on mentioned enviroment. Dubuger says that wp_add_inline_style function is not used properly and it points wp-includes/functions.php on line 4091.

Also "Trying to get property of non-object in /var/www/wordpress/wp content/themes/tanx/includes/navwalker.php on line 65, 84, 103, 117, 118, 119" and "Undefined variable: post in /var/www/wordpress/wp-content/themes/tanx/shortcodes.php on line 4" appears .

I try same .zip copy on remote server, WP 4.6 and it works well.

ffpetrovic commented 7 years ago

Could your remote server and box be running ngnix and the other one apache for example (or vice-versa)?

sqfaru commented 7 years ago

It is Apache In both cases. Here is a specification of vagrant box where the problems occurs - http://v2.vccw.cc/

ffpetrovic commented 7 years ago

That's really strange. "Undefined variable: post" shouldn't happen, since $post is a global variable. Please try disabling all of your plugins. This is the first time this issue has been shown and it's not a very situational one so I'm assuming it's not the theme.