Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Arshid

    (@arshidkv12)

    Yes

    On a multisite you get a critical error upon activation when on php 8.x

    Fatal error: Uncaught Error: Call to a member function add_cap() on null

    /plugins/contact-form-cfdb7/contact-form-cfdb-7.php:64 Stack trace: #0

    if ( !function_exists( 'populate_roles' ) ) {
    require_once( ABSPATH . 'wp-admin/includes/schema.php' );
    }
    
    populate_roles();

    This fixed the issue when I added it to theme functions.php.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘PHP version’ is closed to new replies.