• Hi
    My site is broken.

    While updating Elementor to the lastet version this morning:

    [12-Dec-2019 10:07:35 UTC] PHP Warning:  count(): Parameter must be an array or an object that implements Countable in /home/gmao/my.domain.com/wp-content/plugins/elementor/core/logger/loggers/db.php on line 34
    [12-Dec-2019 10:07:35 UTC] PHP Warning:  Illegal string offset 'daa5aa7a5c4925efd534b6de1155bbe9' in /home/gmao/my.domain.com/wp-content/plugins/elementor/core/logger/loggers/db.php on line 18
    [12-Dec-2019 10:07:35 UTC] PHP Notice:  Array to string conversion in /home/gmao/my.domain.com/wp-content/plugins/elementor/core/logger/items/base.php on line 43
    [12-Dec-2019 10:07:35 UTC] PHP Warning:  Illegal string offset 'daa5aa7a5c4925efd534b6de1155bbe9' in /home/gmao/my.domain.com/wp-content/plugins/elementor/core/logger/loggers/db.php on line 21
    [12-Dec-2019 10:07:35 UTC] PHP Fatal error:  Uncaught Error: Call to a member function increase_times() on string in /home/gmao/my.domain.com/wp-content/plugins/elementor/core/logger/loggers/db.php:21
    Stack trace:
    #0 /home/gmao/my.domain.com/wp-content/plugins/elementor/core/logger/loggers/base.php(24): Elementor\Core\Logger\Loggers\Db->save_log(Object(Elementor\Core\Logger\Items\Base))
    #1 /home/gmao/my.domain.com/wp-content/plugins/elementor/core/logger/loggers/base.php(28): Elementor\Core\Logger\Loggers\Base->log(Object(Elementor\Core\Logger\Items\Base), 'info', Array)
    #2 /home/gmao/my.domain.com/wp-content/plugins/elementor/core/base/db-upgrades-manager.php(65): Elementor\Core\Logger\Loggers\Base->info('Elementor data ...', Array)
    #3 /home/gmao/my.domain.com/wp-content/plugins/elementor/core/base/db-upgrades-manager.php(115): Elementor\Core\Base\DB_Upgrades_Manager->on_runner_complete()
    #4 /home/gmao/my.domain.com/wp-content/plugins/elementor/core/base/db-upgrades-manager.php(182): Elementor\Core\Base\DB_Upgrades_Manager->start_run( in /home/gmao/my.domain.com/wp-content/plugins/elementor/core/logger/loggers/db.php on line 21
    [12-Dec-2019 10:07:36 UTC] PHP Warning:  count(): Parameter must be an array or an object that implements Countable in /home/gmao/my.domain.com/wp-content/plugins/elementor/core/logger/loggers/db.php on line 34
    [12-Dec-2019 10:07:36 UTC] PHP Notice:  A non well formed numeric value encountered in /home/gmao/my.domain.com/wp-content/plugins/elementor/core/logger/loggers/db.php on line 18
    [12-Dec-2019 10:07:36 UTC] PHP Notice:  Array to string conversion in /home/gmao/my.domain.com/wp-content/plugins/elementor/core/logger/items/base.php on line 43
    [12-Dec-2019 10:07:36 UTC] PHP Notice:  A non well formed numeric value encountered in /home/gmao/my.domain.com/wp-content/plugins/elementor/core/logger/loggers/db.php on line 21
    [12-Dec-2019 10:07:36 UTC] PHP Fatal error:  Uncaught Error: Call to a member function increase_times() on string in /home/gmao/my.domain.com/wp-content/plugins/elementor/core/logger/loggers/db.php:21
    Stack trace:
    #0 /home/gmao/my.domain.com/wp-content/plugins/elementor/core/logger/loggers/base.php(24): Elementor\Core\Logger\Loggers\Db->save_log(Object(Elementor\Core\Logger\Items\PHP))
    #1 /home/gmao/my.domain.com/wp-content/plugins/elementor/core/logger/manager.php(50): Elementor\Core\Logger\Loggers\Base->log(Object(Elementor\Core\Logger\Items\PHP))
    #2 [internal function]: Elementor\Core\Logger\Manager->shutdown()
    #3 {main}
      thrown in /home/gmao/my.domain.com/wp-content/plugins/elementor/core/logger/loggers/db.php on line 21
Viewing 1 replies (of 1 total)
  • Thread Starter pako69

    (@pako69)

    I found a workaround.

    #1 delete Elementor plugin directory
    #3 download the latest Elementor version on you computer
    #4 edit the file /wp-content/plugins/elementor/core/logger/loggers/base.php
    #5 in this file, comment out this line:

    // $this->save_log( $item );
    

    #6 upload Elementor to /wp-content/plugins/
    #7 check you are using the latest version, in wordpress go to /wp-admin/plugins.php
    #8 re download the file /wp-content/plugins/elementor/core/logger/loggers/base.php and remove the php comment out
    #9 reupload the this file at the same place

Viewing 1 replies (of 1 total)
  • The topic ‘Elementor cause PHP Fatal error’ is closed to new replies.