• Resolved klikihak

    (@klikihak)


    Hi, when I try to activate the plugin it shows this error:

    Warning: require_once(/data/web/virtuals/150483/virtual/www/domains/MYDOMAIN/wp-content/themes/MYTHEME/includes/meta-box/inc/common.php): failed to open stream: No such file or directory in /data/web/virtuals/150483/virtual/www/domains/MYDOMAIN/wp-content/plugins/wp-contact-slider/inc/meta-box/meta-box.php on line 27

    Fatal error: require_once(): Failed opening required ‘/data/web/virtuals/150483/virtual/www/domains/MYDOMAIN/wp-content/themes/MYTHEME/includes/meta-box/inc/common.php’ (include_path=’.:/data/web/virtuals/150483/virtual’) in /data/web/virtuals/150483/virtual/www/domains/MYDOMAIN/wp-content/plugins/wp-contact-slider/inc/meta-box/meta-box.php on line 27

    What to do?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author WPExperts.io

    (@wpexpertsio)

    Hi klikihak!

    Hope you are doing good. Actually here your theme and WordPress Contact Slider is using the same class for meta box functionality.

    To fix this issue you have 2 options.
    1. Either switch to some other theme
    2. or remove meta-box from includes in your theme (it will break nothing as all meta-box functionality will remain there with this plugin).

    We think 2nd option will be easy solution to proceed with.

    Let us know if still you have any issue on your way.

    Thanks!

    Thread Starter klikihak

    (@klikihak)

    Hi, thanks for quick reply, how should I do it exactly? I tried to rename the meta-boxes.php in wp-content/themes/my-theme/includes and it made more errors…

    Warning: include_once

    Warning: Cannot modify header information – headers already sent by

    Warning: require_once

    Fatal error: require_once():

    Plugin Author WPExperts.io

    (@wpexpertsio)

    You don’t need to change the file name. Just comment

    require_once( '...../meta-box.php' );

    or

    include_once( '...../meta-box.php' );

    in your functions.php or some other php file where it is included.

    Let us know if you have any issue.

    Thanks

    Thread Starter klikihak

    (@klikihak)

    There is:

    	include_once(SF_INCLUDES_PATH . '/meta-box/meta-box.php');
    	include_once(SF_INCLUDES_PATH . '/meta-boxes.php');

    I commented out both of them, and the plugin installed properly. So is it ok to have it like that? Will the plugin and the theme work OK now? Should I worry?

    Plugin Author WPExperts.io

    (@wpexpertsio)

    Sure you don’t need to worry. Every thing will work fine now.

    We would be glad if you can leave a Review for WP Contact Slider.
    Click here to rate and review our plugin.

    Thanks!

    • This reply was modified 7 years, 7 months ago by WPExperts.io. Reason: fixed gramatical mistake
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Error, cant activate the plugin’ is closed to new replies.