If you’re using a copy or gpl version of Jannah Theme this error ” This website is using an illegal copy of Jannah theme” will already affect your site. If not, it will come soon. Don’t need to worry at all. I’ll help your fix this issue. just follow these easy steps.
There are two ways to solve this problem. You can buy (which I will suggest) the theme or if you are still facing the issue with your new or existing (maybe gpl) Jannah Theme just try below steps, it will solve your problem.
Requirments
- CPanel Access ( or FTP Access of your WordPress site hosting server)
- Notepad++ or any other text editor
- Tested on Jannah Version 4.6.6
Follow below steps
Step 1: Go to Hosting’s CPanel and use their File manager (FTP mode)
Step 2: Directory/File : public_html > wp-content > themes > jannah > inc > style.php
Step 3: Then go to style.php or find this file as above mentioned directory.
Step 4: Download style.php and open it using notepad++
Step 5: Use Ctrl+F to Search this code “add_action( ‘init’, ‘jannah_theme_custom_styling’ );”
If you are not able to find try to find any substring part of the above string/line.
Step 6: Then modify or comment that line like this //add_action( ‘init’, ‘jannah_theme_custom_styling’ ); or adding // in start of that line.
Step 7: That’s it. Now save style.php and upload it to the previous location. Now, refresh the browser and everything will be back to normal 🙂
If you have any questions, use the comment section.
JNews theme has the same problem: This website is using an illegal copy of JNews theme
Help me please!
I’m just the same, have you been able to solve it?
Tengo la solución, me pasó lo mismo, escríbeme a gerencia@endesacuerdo.com
cmon bro, share with us. I sent a email for you
Same issue
Done Changes in Both style.php and deprecated.php now again getting same error ! Please help. If there is solution please comment here or mail on frentistech@gmail.com
Did you get any solution? Please help bro.
Can’t find the add_action on the new theme updates please help. i using 5.4.3
thanks … worked for me.
in wp-content/themes/jannah/inc/deprecated.php
comment out this part of code: “add_action( ‘init’, ‘jannah_images_lazyload’ );”
This worked for me. Thanks !!
working..
getting the same error…Removed the same code last month…plz help
Bro if you find solution please mail me on frentistech@gmail.com
I have the same problem in 5.4.3
what’s the solution?
Hello
Removed same code few months back now getting same error again
Current theme: Jannah (version 5.2.1)
Please help
Now it’s blocking wp-admin access
I found the malicious code in wp-content/themes/jannah/inc/deprecated.php
comment out this part of code: “add_action( ‘init’, ‘jannah_images_lazyload’ );”
You are GOD Today ! Thanks for Survival ! Lottssss of Hugs buddy !
thank u sooooooooooooooooooooooooooooooooooooooo muchhhhhhhhhhhhhhhh…………………….you saved me…
wow this worked for me 🙂
bro today I’m getting this illegal error…please help me… hariomsharma1990@gmail.com
” today I’m getting this illegal error” me too. Please help me. arenondh3438@gmail.com
Can’t find the add_action in 5.3.2 . please help me asap.
Hi, thanks for sharing. i’ve tried to download the style.php but i can’t find the “//add_” could you help me?
i think my ver is the latest one. really frustated, cause my theme is legal.
I am using Jannah theme version 5.3.2. today i got this illegal error..please help me bro…i also can’t find the above-mentioned add_action line in the theme..plz help
hariomsharma1990@gmail.com
I am using Jannah theme version 5.3.2. today i got this illegal error..please help me bro…
Can’t find the add_action on the new theme updates please help.
Which version of the theme you are using?
version 5.4.2
5.3.2
plz help…hariomsharma1990@gmail.com
5.3.2
Thanks man .. Saved my website 🙂
Awesome, thank you for this information. It really works.