Jump to:
| Project: | Auto Tagging |
| Version: | 7.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Issue Summary
Hi I am trying to auto tag feed items using Autotagging module. Here is the workflow I have followed
1. Download and enable the autotagging module.
2. Create a vocabulary for autotagging.
3. Configured tagthenet module for autotagging as demonstrated in the module documentation page.
4. Added a term reference field to the default feed item content type created after installing feeds which references to above vocabulary and has been set to allow unlimited number of tags.
5. Create a feed and attempt to import feed items from the feed. On doing so first of all import fails with the error message
An AJAX HTTP error occurred. HTTP Result Code: 500 Debugging information follows. Path: /batch?id=93&op=do StatusText: Internal Server Error ResponseText:
Checking the log files reveals a bunch of errors that occur
Notice: Undefined property: stdClass::$body in autotagging_node_presave() (line 89 of /home/clients/websites/w_isocen/public_html/isocen/sites/all/modules/autotagging/autotagging.module).
Warning: preg_replace() [function.preg-replace]: Empty regular expression in autotagging_node_insert() (line 144 of /home/clients/websites/w_isocen/public_html/isocen/sites/all/modules/autotagging/autotagging.module).
Notice: Undefined property: stdClass::$body in autotagging_node_presave() (line 89 of /home/clients/websites/w_isocen/public_html/isocen/sites/all/modules/autotagging/autotagging.module).
Warning: Invalid argument supplied for foreach() in autotagging_node_presave() (line 89 of /home/clients/websites/w_isocen/public_html/isocen/sites/all/modules/autotagging/autotagging.module).
Warning: preg_replace() [function.preg-replace]: Empty regular expression in autotagging_node_presave() (line 96 of /home/clients/websites/w_isocen/public_html/isocen/sites/all/modules/autotagging/autotagging.module).
Warning: implode() [function.implode]: Invalid arguments passed in autotagging_node_presave() (line 94 of /home/clients/websites/w_isocen/public_html/isocen/sites/all/modules/autotagging/autotagging.module).
No autotags get created and the first item of the feed gets imported but no further.
Getting autotagging for feed items is important for the website I am building where we are attempting to pull in feeds from pubmed and categories cancer related news into groups based on autotags
Comments
#1
Not sure but this is likely a duplicate here.
#1125670: Warning: Parameter 1 to autotagging_node_presave() expected to be a reference