Our office will be closed for celebrating our Lunar New Year from 20 to 26 January 2023. It will take around 1-2 days for us to reply to your ticket.

Okay
  Public Ticket #3146030
Error in code
Closed

Comments

  • Kevin started the conversation
    Warning: The magic method Merlin_Logger::__wakeup() must have public visibility in C:\xampp\htdocs\wp-content\themes\olars\inc\merlin\includes\class-merlin-logger.php on line 194


    I have this error with latest WordPress version, can you please check and fix it. 

    I am trying to install it with blank wordpress and after installation I am seeing this error in top of every page.

    thanks

  •  1,007
    Ha replied

    Hi there, 

    Please send your detail WordPress admin account privately, we will check and support you asap.

    Thank you


    Support Team

    We are located in GMT +7 time zone and we answer all questions within 12-48 hours on weekdays. In some rare cases, the waiting time can be to 48 hours. Support tickets sent during weekends or public holidays will be processed next Monday or the next business day. 

    If you like our theme, Please vote it 5 stars. We are really really appreciate your vote : 

    To vote go to http://themeforest.net/downloads then follow that link | And Download Our Promotion Themes 

    Thanks and have a nice day!

  • Kevin replied

    I am working in my local, just install your own theme in windows ( xampp ) with latest WordPress version and you will see those errors. I have also attached screenshots. You must be able to understand it. 

    Steps to reproduce:

    *** TURN ERROR REPORTING ON ***

    1) Install Xampp latest version in windows

    2) Download Latest WordPress

    3) Move theme and plugin files in WordPress themes and plugin folder

    4) Install WordPress and activate your theme

    5) Begin plugin installation and activation.

    6) And you will receive those errors which I have attached.

  •  1,007
    Ha replied

    Hello,

    Your website is using PHP version 8.0, this version is not currently compatible with our theme and some other plugins, so when you use this version of PHP, it will cause some unexpected errors. 

    #1. Please go to file: C:\xampp\htdocs\wp-content\themes\olars\inc\merlin\includes\class-merlin-logger.php

    find code and remove:

    /**
         * Private clone method to prevent cloning of the instance of the *Singleton* instance.
         *
         * @return void
         */
        private function __clone() {}
        /**
         * Private unserialize method to prevent unserializing of the *Singleton* instance.
         *
         * @return void
         */
        private function __wakeup() {} 
    

    #2. Inside your wp-config.php file, look for the following line:

    define('WP_DEBUG', true); 
    //Edit into:
    define('WP_DEBUG', false);


    Support Team

    We are located in GMT +7 time zone and we answer all questions within 12-48 hours on weekdays. In some rare cases, the waiting time can be to 48 hours. Support tickets sent during weekends or public holidays will be processed next Monday or the next business day. 

    If you like our theme, Please vote it 5 stars. We are really really appreciate your vote : 

    To vote go to http://themeforest.net/downloads then follow that link | And Download Our Promotion Themes 

    Thanks and have a nice day!