Can’t Activate: Fatal Error ‘No file “src/init.php”‘.
-
32 /** 33 * Block Initializer. 34 */ 35 require_once plugin_dir_path( __FILE__ ) . 'src/init.php';
Line 35 within the file “wp-image-mask.php” throws the following error:
Plugin could not be activated because it triggered a fatal error.
WP-Admin Dashboard
Warning: require_once(/home/…/public_html/…/wp-content/plugins/wp-image-mask/src/init.php): failed to open stream: No such file or directory in /home/enthusia/public_html/control/wp-content/plugins/wp-image-mask/wp-image-mask.php on line 35This error prevents the plugin from successfully activating after installation. There is no folder named ‘src’ within your plugin. There is no file ‘init.php’ within your plugin. What is your code referencing? Should there be a ‘src/init.php’ file? Why is it not included in the plugin?
- The topic ‘Can’t Activate: Fatal Error ‘No file “src/init.php”‘.’ is closed to new replies.