I need help with a plugin I’m developing

[ad_1]

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]
1 Comment
  1. 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/

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer