my-language-skills / simple-metadata

Simple metadata use the default WP data to show to google as structured data.
GNU General Public License v3.0
2 stars 2 forks source link

Missing required code in symbionts/ #37

Open ivanistheone opened 3 years ago

ivanistheone commented 3 years ago

When trying to activate the latest version of the plugin I got:

Warning: require_once(/home/ivan/www/blog/wp-content/plugins//simple-metadata/symbionts/custom-metadata/custom_metadata.php): failed to open stream: No such file or directory in /home/ivan/www/blog/wp-content/plugins/simple-metadata/simple-metadata.php on line 71

Fatal error: require_once(): Failed opening required '/home/ivan/www/blog/wp-content/plugins//simple-metadata/symbionts/custom-metadata/custom_metadata.php' (include_path='.:/usr/share/php') in /home/ivan/www/blog/wp-content/plugins/simple-metadata/simple-metadata.php on line 71

It seems that code was removed in https://github.com/my-language-skills/simple-metadata/commit/ac2fe9fbdbeccb9b0106b8df98f765023715df30

Is it essential/needed? I commented out these lines and was able to activate the plugin and enable it for pages and saw some metadata produced in pages so probably not essential...


I'm not sure how to use this plugin. I'm interested in manually adding LRMI alignment tags (educationalAlignment) https://github.com/my-language-skills/simple-metadata/wiki/Metadata:-LOM-&-LRMI-&-Schema-&-DC-relationship would that be supported possible currently?

I'm happy to hack a little PHP if needed.

colomet commented 3 years ago

Dear @ivanistheone in a few days we will take a look at the code and we will text you back. thanks