• Resolved dsujan930

    (@dsujan930)


    Hello fellows,
    Beginner here in wordpress.(FYI, installed WP-5.9.2 on xampp-linux-x64-8.1.2-0 on ubuntu VM)
    Below actions i took for your understanding:

    I installed/activated Elementor and Astra theme. The site was running till the time.

    Now when i installed importer plugin(starter template) from astra option page, the installation was taking forever time.

    So i went for manual installation by uploading zip file. The installtion was successful but when i activated the plugin the next page showed

    There has been a critical error on this website. Please check your site admin email inbox for instructions.

    The webpage failed to load completely.

    Though after deleting the plugin folder the site worked properly. But the site was no use for my learning without the plugin.

    Below is the debug log. Looking forward for any of you experts to solve the issue.

    [18-Mar-2022 14:59:23 UTC] PHP Deprecated:  version_compare(): Passing null to parameter #2 ($version2) of type string is deprecated in /opt/lampp/htdocs/wordpress/wp-content/plugins/elementor/core/upgrade/manager.php on line 62
    [18-Mar-2022 14:59:23 UTC] PHP Deprecated:  Return type of Elementor\Core\Utils\Collection::offsetExists($key) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /opt/lampp/htdocs/wordpress/wp-content/plugins/elementor/core/utils/collection.php on line 404
    [18-Mar-2022 14:59:23 UTC] PHP Deprecated:  Return type of Elementor\Core\Utils\Collection::offsetGet($key) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /opt/lampp/htdocs/wordpress/wp-content/plugins/elementor/core/utils/collection.php on line 413
    [18-Mar-2022 14:59:23 UTC] PHP Deprecated:  Return type of Elementor\Core\Utils\Collection::offsetSet($key, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /opt/lampp/htdocs/wordpress/wp-content/plugins/elementor/core/utils/collection.php on line 421
    [18-Mar-2022 14:59:23 UTC] PHP Deprecated:  Return type of Elementor\Core\Utils\Collection::offsetUnset($key) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /opt/lampp/htdocs/wordpress/wp-content/plugins/elementor/core/utils/collection.php on line 432
    [18-Mar-2022 14:59:23 UTC] PHP Deprecated:  Return type of Elementor\Core\Utils\Collection::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /opt/lampp/htdocs/wordpress/wp-content/plugins/elementor/core/utils/collection.php on line 446
    [18-Mar-2022 14:59:23 UTC] PHP Deprecated:  Return type of Elementor\Core\Utils\Collection::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /opt/lampp/htdocs/wordpress/wp-content/plugins/elementor/core/utils/collection.php on line 439
    [18-Mar-2022 14:59:23 UTC] PHP Deprecated:  version_compare(): Passing null to parameter #2 ($version2) of type string is deprecated in /opt/lampp/htdocs/wordpress/wp-content/plugins/elementor/core/upgrade/manager.php on line 62
    [18-Mar-2022 14:59:24 UTC] PHP Deprecated:  Return type of Elementor\Core\Logger\Items\Base::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /opt/lampp/htdocs/wordpress/wp-content/plugins/elementor/core/logger/items/base.php on line 46
    [18-Mar-2022 14:59:24 UTC] PHP Deprecated:  version_compare(): Passing null to parameter #2 ($version2) of type string is deprecated in /opt/lampp/htdocs/wordpress/wp-content/plugins/elementor/core/upgrade/manager.php on line 62
    [18-Mar-2022 14:59:24 UTC] PHP Deprecated:  Return type of Elementor\Core\Utils\Collection::offsetExists($key) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /opt/lampp/htdocs/wordpress/wp-content/plugins/elementor/core/utils/collection.php on line 404
    [18-Mar-2022 14:59:24 UTC] PHP Deprecated:  Return type of Elementor\Core\Utils\Collection::offsetGet($key) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /opt/lampp/htdocs/wordpress/wp-content/plugins/elementor/core/utils/collection.php on line 413
    [18-Mar-2022 14:59:24 UTC] PHP Deprecated:  Return type of Elementor\Core\Utils\Collection::offsetSet($key, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /opt/lampp/htdocs/wordpress/wp-content/plugins/elementor/core/utils/collection.php on line 421
    [18-Mar-2022 14:59:24 UTC] PHP Deprecated:  Return type of Elementor\Core\Utils\Collection::offsetUnset($key) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /opt/lampp/htdocs/wordpress/wp-content/plugins/elementor/core/utils/collection.php on line 432
    [18-Mar-2022 14:59:24 UTC] PHP Deprecated:  Return type of Elementor\Core\Utils\Collection::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /opt/lampp/htdocs/wordpress/wp-content/plugins/elementor/core/utils/collection.php on line 446
    [18-Mar-2022 14:59:24 UTC] PHP Deprecated:  Return type of Elementor\Core\Utils\Collection::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /opt/lampp/htdocs/wordpress/wp-content/plugins/elementor/core/utils/collection.php on line 439
    [18-Mar-2022 14:59:24 UTC] PHP Deprecated:  version_compare(): Passing null to parameter #2 ($version2) of type string is deprecated in /opt/lampp/htdocs/wordpress/wp-content/plugins/elementor/core/upgrade/manager.php on line 62
    [18-Mar-2022 14:59:24 UTC] PHP Deprecated:  preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /opt/lampp/htdocs/wordpress/wp-includes/formatting.php on line 5373
    [18-Mar-2022 14:59:24 UTC] PHP Deprecated:  trim(): Passing null to parameter #1 ($string) of type string is deprecated in /opt/lampp/htdocs/wordpress/wp-includes/pluggable.php on line 592
    [18-Mar-2022 14:59:24 UTC] PHP Deprecated:  rtrim(): Passing null to parameter #1 ($string) of type string is deprecated in /opt/lampp/htdocs/wordpress/wp-includes/formatting.php on line 2761
    [18-Mar-2022 14:59:24 UTC] PHP Deprecated:  rtrim(): Passing null to parameter #1 ($string) of type string is deprecated in /opt/lampp/htdocs/wordpress/wp-includes/formatting.php on line 2761
    [18-Mar-2022 14:59:32 UTC] PHP Deprecated:  version_compare(): Passing null to parameter #2 ($version2) of type string is deprecated in /opt/lampp/htdocs/wordpress/wp-content/plugins/elementor/core/upgrade/manager.php on line 62
    [18-Mar-2022 14:59:32 UTC] PHP Deprecated:  Return type of Elementor\Core\Utils\Collection::offsetExists($key) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /opt/lampp/htdocs/wordpress/wp-content/plugins/elementor/core/utils/collection.php on line 404
    [18-Mar-2022 14:59:32 UTC] PHP Deprecated:  Return type of Elementor\Core\Utils\Collection::offsetGet($key) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /opt/lampp/htdocs/wordpress/wp-content/plugins/elementor/core/utils/collection.php on line 413
    [18-Mar-2022 14:59:32 UTC] PHP Deprecated:  Return type of Elementor\Core\Utils\Collection::offsetSet($key, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /opt/lampp/htdocs/wordpress/wp-content/plugins/elementor/core/utils/collection.php on line 421
    [18-Mar-2022 14:59:32 UTC] PHP Deprecated:  Return type of Elementor\Core\Utils\Collection::offsetUnset($key) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /opt/lampp/htdocs/wordpress/wp-content/plugins/elementor/core/utils/collection.php on line 432
    [18-Mar-2022 14:59:32 UTC] PHP Deprecated:  Return type of Elementor\Core\Utils\Collection::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /opt/lampp/htdocs/wordpress/wp-content/plugins/elementor/core/utils/collection.php on line 446
    [18-Mar-2022 14:59:32 UTC] PHP Deprecated:  Return type of Elementor\Core\Utils\Collection::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /opt/lampp/htdocs/wordpress/wp-content/plugins/elementor/core/utils/collection.php on line 439
    [18-Mar-2022 14:59:32 UTC] PHP Deprecated:  version_compare(): Passing null to parameter #2 ($version2) of type string is deprecated in /opt/lampp/htdocs/wordpress/wp-content/plugins/elementor/core/upgrade/manager.php on line 62
    [18-Mar-2022 14:59:32 UTC] PHP Deprecated:  Return type of Elementor\Core\Logger\Items\Base::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /opt/lampp/htdocs/wordpress/wp-content/plugins/elementor/core/logger/items/base.php on line 46
    [18-Mar-2022 14:59:32 UTC] PHP Deprecated:  version_compare(): Passing null to parameter #2 ($version2) of type string is deprecated in /opt/lampp/htdocs/wordpress/wp-content/plugins/elementor/core/upgrade/manager.php on line 62
    [18-Mar-2022 14:59:32 UTC] PHP Deprecated:  Return type of Elementor\Core\Utils\Collection::offsetExists($key) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /opt/lampp/htdocs/wordpress/wp-content/plugins/elementor/core/utils/collection.php on line 404
    [18-Mar-2022 14:59:32 UTC] PHP Deprecated:  Return type of Elementor\Core\Utils\Collection::offsetGet($key) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /opt/lampp/htdocs/wordpress/wp-content/plugins/elementor/core/utils/collection.php on line 413
    [18-Mar-2022 14:59:32 UTC] PHP Deprecated:  Return type of Elementor\Core\Utils\Collection::offsetSet($key, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /opt/lampp/htdocs/wordpress/wp-content/plugins/elementor/core/utils/collection.php on line 421
    [18-Mar-2022 14:59:32 UTC] PHP Deprecated:  Return type of Elementor\Core\Utils\Collection::offsetUnset($key) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /opt/lampp/htdocs/wordpress/wp-content/plugins/elementor/core/utils/collection.php on line 432
    [18-Mar-2022 14:59:32 UTC] PHP Deprecated:  Return type of Elementor\Core\Utils\Collection::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /opt/lampp/htdocs/wordpress/wp-content/plugins/elementor/core/utils/collection.php on line 446
    [18-Mar-2022 14:59:32 UTC] PHP Deprecated:  Return type of Elementor\Core\Utils\Collection::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /opt/lampp/htdocs/wordpress/wp-content/plugins/elementor/core/utils/collection.php on line 439
    [18-Mar-2022 14:59:32 UTC] PHP Deprecated:  version_compare(): Passing null to parameter #2 ($version2) of type string is deprecated in /opt/lampp/htdocs/wordpress/wp-content/plugins/elementor/core/upgrade/manager.php on line 62
    [18-Mar-2022 14:59:32 UTC] PHP Fatal error:  Uncaught TypeError: ftp_fput(): Argument #1 ($ftp) must be of type FTP\Connection, null given in /opt/lampp/htdocs/wordpress/wp-admin/includes/class-wp-filesystem-ftpext.php:212
    Stack trace:
    #0 /opt/lampp/htdocs/wordpress/wp-admin/includes/class-wp-filesystem-ftpext.php(212): ftp_fput(NULL, '/opt/lampp/htdo...', Resource id #801, 2)
    #1 /opt/lampp/htdocs/wordpress/wp-content/plugins/astra-sites/inc/classes/class-astra-sites-importer-log.php(73): WP_Filesystem_FTPext->put_contents('/opt/lampp/htdo...', '')
    #2 /opt/lampp/htdocs/wordpress/wp-includes/class-wp-hook.php(307): Astra_Sites_Importer_Log->has_file_read_write('')
    #3 /opt/lampp/htdocs/wordpress/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array)
    #4 /opt/lampp/htdocs/wordpress/wp-includes/plugin.php(474): WP_Hook->do_action(Array)
    #5 /opt/lampp/htdocs/wordpress/wp-admin/admin.php(175): do_action('admin_init')
    #6 /opt/lampp/htdocs/wordpress/wp-admin/index.php(10): require_once('/opt/lampp/htdo...')
    #7 {main}
      thrown in /opt/lampp/htdocs/wordpress/wp-admin/includes/class-wp-filesystem-ftpext.php on line 212
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘critical error on this website while activating Starter Template.’ is closed to new replies.