• Resolved randallhedglin

    (@randallhedglin)


    Hello, our site is using both Dokan and Dokan Pro. We are running the latest versions of both (updated as of yesterday). However, when we try to run the site on PHP 8.0, we get the following error:

    PHP Fatal error: Uncaught Error: Class "Dokan_Follow_Store_Send_Updates" not found in /nas/content/live/xxxxxxxx/wp-content/plugins/dokan-lite/dokan.php:433
    Stack trace:
    #0 /nas/content/live/xxxxxxxx/wp-includes/class-wp-hook.php(308): WeDevs_Dokan->after_plugins_loaded('')
    #1 /nas/content/live/xxxxxxxx/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array)
    #2 /nas/content/live/xxxxxxxx/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    #3 /nas/content/live/xxxxxxxx/wp-settings.php(480): do_action('plugins_loaded')
    #4 /nas/content/live/xxxxxxxx/wp-config.php(120): require_once('/nas/content/li...')
    #5 /nas/content/live/xxxxxxxx/wp-load.php(50): require_once('/nas/content/li...')
    #6 /nas/content/live/xxxxxxxx/wp-admin/admin.php(34): require_once('/nas/content/li...')
    #7 /nas/content/live/xxxxxxxx/wp-admin/index.php(10): require_once('/nas/content/li...')
    #8 {main}
    thrown in /nas/content/live/xxxxxxxx/wp-content/plugins/dokan-lite/dokan.php on line 433

    Reverting the site back to PHP 7.4 removes the error.

    I did find a previous forum post related to PHP 8 compatibility here, from nearly two years ago: https://ww.wp.xz.cn/support/topic/php-8-compatible-2/, but it does not appear there was any resolution to that topic.

    According to https://endoflife.date/php, all support (both active and security patches) for PHP 7.4 ended in November of 2022, meaning PHP 7.4 has been essentially dead for two months now. It could be considered poor business practice to force your customers to run their eCommerce sites on a platform that no longer receives security updates.

    Will Dokan be compatible with PHP 8 in the near future, or will we need to seek out and implement a different solution to ensure our site’s security?

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘PHP 8 compatibility?’ is closed to new replies.