• I have a fresh WP 6.1 installation on PHP 8.1

    All fine with customizing default Theme in WP.
    Installing Generate Press Theme works but click on customize give this message:
    Warning: require_once(/wordpress/wp-includes/customize/class-wp-customize-background-image-setting.php): failed to open stream: No such file or directory in /wordpress/wp-includes/class-wp-customize-setting.php on line 974

    I checked and the class-wp-customize-background-image-setting.php does not exist in my WP installation. There is however a file with name: class-wp-customize-background-image-control.php

    According to Generate Press Theme it is compatible with WP 8.1. Is this a known issue?

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Leo

    (@leohsiang)

    Hi there,

    I just did a fresh install of WP 6.1 with PHP 8.1 and did not encounter the issue.

    We have not had any other reports on this either.

    The file mentioned above is also a WP core file so it should be unrelated to the theme itself.

    Thread Starter hbaten

    (@hbaten)

    Hi Leo, thanks for checking. I just tested again, switched to the Theme and pressed customize, and ….. it worked. Honestly I did not change anything, just worked in WP on a different theme in between. But now it works for 8.1 and also older versions.
    Sorry for bothering you and thanks for the quick help!

    Leo

    (@leohsiang)

    No problem ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘class-wp-customize-background-image-setting.php missing in wordpress 6.1’ is closed to new replies.