-
Author
-
August 16, 2014 at 23:58 #25820MjParticipant
Hello,
By enabling WP Debug, the following error appears on pages:
Notice: Undefined variable: style in /home/username/domains/domain.com/public_html/wp-content/themes/kleo/vc_templates/vc_column.php on line 22
I though it should be useful to report this issue.
Regards,
Majestic
August 17, 2014 at 05:18 #25830sharmstrModeratorThat style variable is set if you have version 4.3.2 of visual composer. If not, the variable isn’t set and you’ll get that undefined error. Check your visual composer version and update if you dont have 4.3.2. Then the error should go away.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
August 17, 2014 at 13:35 #25834MjParticipantHello Sharmstr,
Thanks for your quick reply. I checked the Visual Composer version and it’s v. 4.3.2.
Regards,
Majestic
August 17, 2014 at 15:18 #25839sharmstrModeratorHmm. Interesting. And you’re on Kleo 1.6.3 I assume. I not getting that error when I turn debugging on.
I thought maybe you weren’t running VC 4.3.2 because the lines of code in vc_column.php that set the $style variable are
COPY CODEif (version_compare(WPB_VC_VERSION, '4.3.2') >= 0) { $style = $this->buildStyle( $font_color ); }
Guess we’ll have to wait for Abe and the boys to figure this out. Sorry.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
August 18, 2014 at 17:39 #25922AbeKeymasterthanks @sharmstr
we missed your presence here 🙂Majestic I think that you don’t have the latest version of Visual composer since I checked and that notice will appear only on lower versions.
We forgot a little line and that is why the notice is appearing. to fix it until next theme version replace the content of this file from the theme with the content from the one attached wp-content/themes/kleo/vc_templates/vc_column.phpHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.August 18, 2014 at 17:40 #25923AbeKeymasterhere is the file
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.Attachments:
You must be logged in to view attached files.August 18, 2014 at 17:55 #25928sharmstrModerator@abe thank you 🙂
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
August 18, 2014 at 20:55 #25953MjParticipant@Abe, thanks for the fix. I just checked my installed plugins, and the latest version of Visual Composer has been installed. Please check: http://cl.ly/image/2Y3k1I180i0S
August 19, 2014 at 17:57 #26068AbeKeymasterI see it was 4.2.3 instead of 4.3.2, tricky 🙂
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer. -
AuthorPosts
The topic ‘Undefined variable style’ is closed to new replies.