Home » Tech Tips » How to Fix this Website is Using Illegal Copy of Jannah Theme Error

How to Fix this Website is Using Illegal Copy of Jannah Theme Error

How to Fix this Website is Using Illegal Copy of Jannah Theme Error - myTechMint

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

FTP-mode-Jannah-Theme-Error

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.

Related:  How to Install WordPress on AWS Lightsail Ubuntu OS

Step 6: Then modify or comment that line like this  //add_action( ‘init’, ‘jannah_theme_custom_styling’ ); or adding // in start of that line.

How to Fix this Website is Using Illegal Copy of Jannah Theme Error - myTechMint

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.

34 thoughts on “How to Fix this Website is Using Illegal Copy of Jannah Theme Error”

  1. in wp-content/themes/jannah/inc/deprecated.php

    comment out this part of code: “add_action( ‘init’, ‘jannah_images_lazyload’ );”

    Reply
  2. Hello

    Removed same code few months back now getting same error again
    Current theme: Jannah (version 5.2.1)

    Please help

    Reply
  3. 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’ );”

    Reply
  4. 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.

    Reply

Leave a Comment