Home Forums LoveStory Fatal error: Uncaught Error: Class 'ThemexUser' not found

Fatal error: Uncaught Error: Class 'ThemexUser' not found

  • karanbsingh

    We are getting PHP Fatal error: Uncaught Error: Class ‘ThemexUser’ not found at themes index.php line 2 i.e. at if(ThemexUser::isUserFilter()) {

    Please suggest what to do!

    ihor Staff

    Please sign in or register to view replies from the support staff.

    karanbsingh

    Thanks for the response. There are no changes made to the site and no customization. The site seems working fine when we see it as an admin or as an user. This message is in the error file in theme directory and this has been there. We thought that the deleted users may be trying to login so this error. Such errors are there in some sites too and change in logic was suggested therefore we contacted you.

    karanbsingh
    ihor Staff

    Please sign in or register to view replies from the support staff.

    karanbsingh

    Yes installed as per the process as a wordpress.

    karanbsingh

    At the discussion forum it was suggested to use (!defined(‘ABSPATH’)) exit; and then no error, Please suggest.

    karanbsingh

    This error seems from themes Index.php not from wordpress.

    ihor Staff

    Please sign in or register to view replies from the support staff.

    karanbsingh

    We have the similar problem in 4 of our company’s 6 websites in the same file index.php of themes. Our company experts are clueless about it at all but got tip from wordpress users forum then approached yourself. Though website are working fine.

    No changes are made on website for a very long time. One change you got into thermax.form.php file that too very long ago about the restricted field written as hidden in some line 151-153 or some where. This is as per our record.

    What is this (!defined(‘ABSPATH’)) exit; for? Any harm if we keep it?

    ihor Staff

    Please sign in or register to view replies from the support staff.

    ihor Staff

    Please sign in or register to view replies from the support staff.

    karanbsingh

    Thanks so much for the response and appreciate it.

    So it is safe to use if (!defined(‘ABSPATH’)) exit; rather better from security point of view. Right?

    With this the said error disappears, what we say about it?

    ihor Staff

    Please sign in or register to view replies from the support staff.

    karanbsingh

    Thanks so much for the direction and appreciate it. We have not got any of those errors and/or warnings in last 48 hours and keeping it under observation.

    Just to update us on what would have made our website routes visitors to /wp-content/themes/lovus estory/index.php file instead of the root index.php file or what to do to get this normal situation? We have not made any changes on our won or file shifting or deletion since we want to keep it easier for themes upgrades.

Viewing 15 posts - 1 through 15 (of 22 total)

You must be logged in to reply to this topic.