• Several older sites are throwing these errors:

    Warning: require(/home/...../public_html/......../wp-content/themes/....twentyten/block-patterns.php): failed to open stream: No such file or directory in /home/...../public_html/......../wp-content/themes/twentyten/functions.php on line 743
    
    Warning: require(/home/...../public_html/...../wp-content/themes/...twentyten/block-patterns.php): failed to open stream: No such file or directory in /home/.../public_html/......./wp-content/themes/twentyten/functions.php on line 743
    
    Fatal error: require(): Failed opening required '/home/...../public_html/...../wp-content/themes/.....twentyten/block-patterns.php' (include_path='.:/opt/cpanel/ea-php74/root/usr/share/pear') in /home/..../public_html/......../wp-content/themes/twentyten/functions.php on line 743

    This is line 743

    743

    require get_stylesheet_directory() . ‘/block-patterns.php’;

    Can I just comment this out? None of these sites will ever use the block editor.

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘5.8 throws errors in Twenty Ten’ is closed to new replies.