After adding "description" to the install script, and filling in some dummy text, I got the same error for "params" on the next installation. After dreaming up some dummy JSON for that, too, I now get the error for "modified_time".
So, do I really have to provide some default data for every field in the database table? Or is there a more comfortable way of doing this?
I also noticed that, when uninstalling the plugin, the log says "Field removed successfully", but the field is not removed.
After creating the field manually on the administrator page, the plugin still does nothing when posting a new article. Nothing appears in the log file, either. So I guess, the code in the main plugin file is also never executed?
So, the remaining questions are:
Cheers,
Frank
So, do I really have to provide some default data for every field in the database table? Or is there a more comfortable way of doing this?
I also noticed that, when uninstalling the plugin, the log says "Field removed successfully", but the field is not removed.
After creating the field manually on the administrator page, the plugin still does nothing when posting a new article. Nothing appears in the log file, either. So I guess, the code in the main plugin file is also never executed?
So, the remaining questions are:
- How do I get the field created on installation?
- How do I get the main plugin file to do anything?
Cheers,
Frank
Statistics: Posted by frankw80 — Thu Jun 06, 2024 9:28 am