Error message: Cannot declare class MB_Relationships_FacetWP

Support MB FacetWP Integration Error message: Cannot declare class MB_Relationships_FacetWP

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #45360
    Redd BlindRedd Blind
    Participant

    I tried to add a relationship and it broke WordPress. I received the below information from WordPress:
    "... WordPress caught an error with one of your plugins, Meta Box AIO."

    When seeking help with this issue, you may be asked for some of the following information:
    WordPress version 6.5.2
    Active theme: Go (version 1.8.10)
    Current plugin: Meta Box AIO (version 1.26.2)
    PHP version 8.2.18

    Error Details
    =============
    An error of type E_COMPILE_ERROR was caused in line 5 of the file /var/www/wp-content/plugins/meta-box-aio/vendor/meta-box/meta-box-facetwp-integrator/class-mb-relationships-facetwp.php. Error message: Cannot declare class MB_Relationships_FacetWP, because the name is already in use

    Other plugin details that might be helpful:
    Builder: Oxygen Builder 4.8.2
    FacetWP: 4.2.12

    I got things back up and running but the Facets on the specific post type are not visible on the published page.

    When I read "Cannot declare class MB_Relationships_FacetWP" I unchecked the MB Relationships extension, but that didn't help.

    AT the time this happened I did have the Meta Box - FacetWP Integrator extension checked and the stand alone plugin installed, but I've since deactivated the stand alone plugin, but the facets still aren't displaying.

    It was all working until I tried adding the relationship.

    Any idea on how to fix this?

    #45369
    PeterPeter
    Moderator

    Hello,

    If you activate the plugin Meta Box AIO, no need to use the single extension plugin. Please deactivate the single plugin to solve the error message.

    If using the plugin Meta Box AIO then the Facet doesn't work on your site, can you share some screenshots of the issue? As I know, the Facet filter will work on the archive CPT page.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.