ThomasDepole / wordpress-child-plugin-tool

This tool allows you to modify a Wordpress plugin without losing the ability to update the plugin. This tool works like Wordpress child themes where you can override files that exist in the child plugin by creating a copy of the file and add files to the plugin by creating new files. You can also revert all the changes you made to the plugin.
61 stars 18 forks source link

Error upon running apply.php #3

Open kabarovsky opened 3 years ago

kabarovsky commented 3 years ago

Hi Thomas,

I'm getting this error when I run apply.php

Fatal error: Uncaught Error: Call to undefined function mime_content_type() in /home/vertical/public_html/wp-content/plugins/eclipse-wi-child/src/core.php:99 Stack trace: #0 /home/vertical/public_html/wp-content/plugins/eclipse-wi-child/src/core.php(94): get_file_list('/home/vertical/...', true) #1 /home/vertical/public_html/wp-content/plugins/eclipse-wi-child/src/core.php(94): get_file_list('/home/vertical/...', true) #2 /home/vertical/public_html/wp-content/plugins/eclipse-wi-child/src/core.php(94): get_file_list('/home/vertical/...', true) #3 /home/vertical/public_html/wp-content/plugins/eclipse-wi-child/src/core.php(94): get_file_list('/home/vertical/...', true) #4 /home/vertical/public_html/wp-content/plugins/eclipse-wi-child/apply.php(10): get_file_list('/home/vertical/...', true) #5 {main} thrown in /home/vertical/public_html/wp-content/plugins/eclipse-wi-child/src/core.php on line 99

Any ideas?

SuavePlan commented 3 years ago

You’re missing a vital php module. Try running “apt install php-mime-type” on your command line.

ethanhtoon-mm commented 2 years ago

Error upon running apply.php

Fatal error: Array and string offset access syntax with curly braces is no longer supported in C:\xampp\htdocs\wptest\wp-content\plugins\newsletter-child\src\core.php on line 85