• Resolved shirtguy72

    (@shirtguy72)


    Hello @kiboit , hope I am finding you well.

    I updated to WP V 6.2 and afterwards, I made some css changes so I unticked Optimize CSS then PhastPress optimizations and WP backend displayed Fatal Error. 1st time I’ve ever experienced any errors with Phastpress. Had to restore site serverside, UpdraftPlus backup failed

    Below is what registered in wp-admin php errorlog

    [29-Mar-2023 13:01:05 UTC] PHP Warning: Array to string conversion in /home/customer/www/***************/public_html/wp-content/plugins/swift-performance-lite/includes/luv-framework/templates/tpl.dropdown.php on line 22
    [29-Mar-2023 23:32:02 UTC] PHP Fatal error: Uncaught TypeError: Kibo\PhastPlugins\PhastPress\RequestsHTTPClient::makePhastResponse(): Argument #1 ($requestsResponse) must be of type Requests_Response, WpOrg\Requests\Response given, called in /home/customer/www/***************//public_html/wp-content/plugins/phastpress/classes/RequestsHTTPClient.php on line 26 and defined in /home/customer/www/***************//public_html/wp-content/plugins/phastpress/classes/RequestsHTTPClient.php:29
    Stack trace:
    
    0 /home/customer/www/***************//public_html/wp-content/plugins/phastpress/classes/RequestsHTTPClient.php(26): Kibo\PhastPlugins\PhastPress\RequestsHTTPClient->makePhastResponse(Object(WpOrg\Requests\Response))
    
    1 /home/customer/www/***************//public_html/wp-content/plugins/phastpress/sdk/phast.php(9174): Kibo\PhastPlugins\PhastPress\RequestsHTTPClient->post(Object(Kibo\Phast\ValueObjects\URL), '\x89PNG\r\n\x1A\n\x00\x00\x00\rIHD…', Array)
    
    2 /home/customer/www/***************//public_html/wp-content/plugins/phastpress/sdk/phast.php(2114): Kibo\Phast\Filters\Image\ImageAPIClient\Filter->transformImage(Object(Kibo\Phast\Filters\Image\ImageImplementations\DummyImage), Array)
    
    3 /home/customer/www/***************//public_html/wp-content/plugins/phastpress/sdk/phast.php(595): Kibo\Phast\Filters\Image\ImageAPIClient\Diagnostics->diagnose(Array)
    
    4 /home/customer/www/***************//public_html/wp-content/plugins/phastpress/sdk/phast.php(7183): Kibo\Phast\Diagnostics\SystemDiagnostics->run(Array)
    
    5 /home/customer/www/***************//public_html/wp-content/plugins/phastpress/sdk/phast.php(7103): Kibo\PhastPlugins\SDK\AdminPanel\AdminPanelData->get()
    
    6 /home/customer/www/***************//public_html/wp-content/plugins/phastpress/bootstrap.php(133): Kibo\PhastPlugins\SDK\AdminPanel\AdminPanel->render()
    
    7 /home/customer/www/***************//public_html/wp-includes/class-wp-hook.php(308): phastpress_render_settings('')
    
    8 /home/customer/www/***************//public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters('', Array)
    
    9 /home/customer/www/***************//public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    
    10 /home/customer/www/***************//public_html/wp-admin/admin.php(259): do_action('settings_page_p…')
    
    11 /home/customer/www/***************//public_html/wp-admin/options-general.php(10): require_once('/home/customer/…')
    
    12 {main}
    
    thrown in /home/customer/www/***************//public_html/wp-content/plugins/phastpress/classes/RequestsHTTPClient.php on line 29
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Albert Peschar

    (@kiboit)

    Hi @shirtguy72,

    Thanks for reporting this bug.

    I’ve just released PhastPress 2.12 which should resolve the issue.? Let me know if it doesn’t work for you.

    –Albert

    Thread Starter shirtguy72

    (@shirtguy72)

    No worries Albert, I’m one of those anti-block guys and have Gutenberg disabled, not even sure why I updated to 6.2

    Going to stick with 6.1.1 long as I can, not updating unless a security patch.

    So, I haven’t tested your fix but I’m confidant its on point and surely it will help others that start updating the core to 6.2

    Sorry I couldn’t be more helpful but thanks for taking the time.

    [Resolved]

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘WP 6.2? Fatal Error’ is closed to new replies.