Hi, I got tasked to learn how to develop plugins for WordPress and I’m developing a plugin to upload excel files and read the data from the file. I used ExcelReader to read and upload the data form the files. I managed to make it work in PHP by itself but when I tried to convert it to a plugin WordPress I got into an error that I’m stuck for 3 days now I don’t know what to do I tried to enable “define( ‘WP\_DEBUG’, true );” but its still not showing me any errors anywhere not in IE console nowhere just this: “There has been a critical error on this website. Please check your site admin email inbox for instructions”. I’m not receiving any email btw
https://preview.redd.it/ixu1d4hcwyxc1.png?width=1534&format=png&auto=webp&s=3d95e11c95b7cde0416b995574b9451bcb7b0cfa
This is my first time developing plugins any help would be great.
Thank You!
[ad_2]
Did you put the debug line in wp-config.php?
Copy the debug line, and change the constant to WP_DEBUG_LOG. That will create a file called debug.log in /wp-content/