Raised This Month: $ Target: $400
 0% 

Why it show this warning?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 01-30-2019 , 17:40   Re: Why it show this warning?
Reply With Quote #2

Because your code isn't indented properly. We can't see that from those 2 lines you provided.

With simple words, if your code looks like this:

PHP Code:
function()
    {
        
some_code()
                
more_code()
            } 
You should make it look like this:

PHP Code:
function()
{
    
some_code()
    
more_code()

Inconsistent usage of tabs and regular spaces can also cause that warning.
Bear in mind this is only a warning and doesn't have any effect on the plugin.
__________________

Last edited by OciXCrom; 01-30-2019 at 17:40.
OciXCrom is offline
Send a message via Skype™ to OciXCrom
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 02:00.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode