I installed the latest version of the plugin and attempted to create my first Template Mapping. After the first two steps (Project and Template) I got a “critical error” message. The error delivered to my admin email was:
Error message: Uncaught Error: Class “WPSEO_Social_Admin” not found in /www/emphn_115/public/wp-content/plugins/gathercontent-import/includes/classes/admin/mapping/field-types/wpseo.php:131
This suggests a conflict with Yoast SEO, so I disabled that plugin and it seems to work now. The version notes for this plugin say “Removed references to deprecated WPSEO_Social_Admin class” but that doesn’t seem to be true for version 3.2.19 which has reference to the class in /includes/classes/admin/mapping/field-types/wpseo.php on line 131.
10.11.5-MariaDB / PHP 8.0.3
]]>Hey there, hope you’re having a great day!
I just wanted to flag that for a long time we noticed some of the sites we run that use the GatherContent plugin are experiencing really slow loading times when navigating to the “All pages” section of the WordPress admin panel. This is more noticeable on sites where there’s a large amount of pages synced with Gather Content.
After having a look at the code, if you go to the gathercontent-import/includes/classes/api.php file on line ~803, the function only_cached() doesn’t appear to make sense, as it’s setting the variable reset_request_cache as true – which happens to be the same as the uncached() function.
Having the cache not working as expected can explain the slow response when navigating to the “All pages” section. Please let me know if there’s anything I can do to help.
Cheers.
]]>In the latest version of the plugin, 3.2.1
, I had a template mapping from a Gather Content checklist to a WordPress Post Taxonomy Terms list importing items as single array string instead of a new or existing term item (instead of each checklist item in the string coming through as a taxonomy term).
["Low-income New Yorkers","Public assistance recipients","Immigrants","People with disabilities","NYCHA residents","People with justice involvement","LGBTQ+ New Yorkers","Women"]
This happened several times to some other taxonomy term mappings as well. Although, those seemed to be resolved after some troubleshooting. I logged this $terms
list and this is the only one coming through as a string item instead of an array of term ids.
It doesn’t occur in version 3.1.14
. I’m not sure if there is some correlation with having template mappings created in v3.1
of the plugin vs v3.2
but that has come to mind as a possibility.
Full Error Details below:
An error of type E_COMPILE_ERROR was caused in line 4 of the file /../plugins/gathercontent-import/includes/classes/post-types/async-save-hook.php. Error message: require_once(): Failed opening required ‘/../plugins/gathercontent-import/includes/vendor/wp-async-task/wp-async-task.php’ (include_path=’.:/usr/share/php’)
WP version: 5.9
PHP version: 7.4
After installing, setup and mapping I made the first import. The post was imported and created without issues but all ACF fields are empty. I tried with selecting the field(s) keys in the mapping from the dropdown example: “_whatever_field”, “whatever_field” and with the field ID created from PHP “field_618a30b760a92”. Also tried making all fields not required and matching field types (Rich Text from gathercontent -> Wysiwyg Editor in ACF)
]]>I have gotten as far as loading the templates and saving a mapping but when choosing to Review and Sync, the sync’ing operation stalls at 25% and just shows a constant callback to the admin php script almost as if stuck in an infinite loop. I’ve turned on all debugging modes and used he built in debugging tool but nothing of interest is revealed except the usual Notification level alerts thrown by the other plugins.
The gather content log just shows this continually:
2018-08-27 21:52:28: api $uri: https://api.gathercontent.com/templates/1351634?disable_cache=1^M
2018-08-27 21:52:28: api $args: Array
(
[headers] => Array
(
[Authorization] => Basic amp1c3RhaW5AYS1nLmNvbTo2Yzk0YzZlMS1lNGVkLTQwMDMtOWQwNS04MGMwOWNlNmE1ZmU=
[Accept] => application/vnd.gathercontent.v0.5+json
[user-agent] => Integration-WordPress-4.9.8/3.1.9
)
)
^M
2018-08-27 21:52:29: api $uri: https://api.gathercontent.com/projects/188286?disable_cache=1^M
2018-08-27 21:52:29: api $args: Array
(
[headers] => Array
(
[Authorization] => Basic amp1c3RhaW5AYS1nLmNvbTo2Yzk0YzZlMS1lNGVkLTQwMDMtOWQwNS04MGMwOWNlNmE1ZmU=
[Accept] => application/vnd.gathercontent.v0.5+json
[user-agent] => Integration-WordPress-4.9.8/3.1.9
)
)
^M
2018-08-27 21:52:30: api $uri: https://api.gathercontent.com/items?project_id=188286&disable_cache=1^M
2018-08-27 21:52:30: api $args: Array
(
[headers] => Array
(
[Authorization] => Basic amp1c3RhaW5AYS1nLmNvbTo2Yzk0YzZlMS1lNGVkLTQwMDMtOWQwNS04MGMwOWNlNmE1ZmU=
[Accept] => application/vnd.gathercontent.v0.5+json
[user-agent] => Integration-WordPress-4.9.8/3.1.9
)
)
Im testing locally but the problem happens on a live staging host as well. I’ve tried setting the SSL local defer filter as suggested. I’m using Chrome 68.0.3440.106. Please advise.
Thanks,
JJ
Hey there,
Like the title says, whenever I try to import content the bar seems to stall at 25% and never completes.
I have enabled debug mode and I have done the ‘Delete stuck sync statuses?’ option a couple times to make sure there was nothing stuck before importing.
My site is not password protected or anything.
Any ideas or suggestions?
]]>When I go to items for import.
When I click on a page. and click import.
The status doesn’t update, and the item stays in the list.
This only started happening since the last plugin update.
Ideas?
]]>Hi, we have a template that uses Advanced Custom Fields. I recently renamed the fields and the template does not show those new field names. It still shows the old field names. We can get new ones by creating a new site, but this isn’t ideal. Could you please make this plugin update field names somehow?
]]>Error occures when GC sync is being triggered, either from Dashboard or Plugin itself. No error log, audit, messages, wp-debug log having an entry.
Only catcheable errors are :
Screenshots :
]]>I’ve installed the GatherContent plugin. I then proceed to add a New Mapping by clicking on the “New Mapping” link in the side menu, selecting the appropriate project from an account (in this case it’s Ivanti Staging Blog 4). I then click the “Next Step” button and I am taken back to main Dashboard as though nothing has happened.
If I click on the “Template Mappings” menu item to check to see if something has been created, there is nothing listed there.
It appears that the plugin is not working correctly. I’ve checked the Developer Console in Chrome and there are no visible errors.
]]>I think there might be some misconfiguration on my end or it couldn’t be right. So many things are not working as expected. It seems like only text can be synced. I really need some guidance.
– Checkboxes, radio buttons and select dropdowns created in ACF can not be push to GatherContent Checkboxes, radio buttons or even text field. This also applies to the other direction, GC to WP.
– Is there a way to show google maps on GatherContent? if so can this be pushed from wordpress?
– I can’t push images to GatherContent, both featured image and ACF image are not OK.
– Is there a way to handle multiple variations of the same image in GatherContent?
– Taxonomies can not be push to GatherContent. If I use checkbox on the GC end, I can see taxonomies selections from the mapping screen, but apparently this will not work as mentioned in the first bullet point. If I use text on the GC end, I will not be able to see taxonomies from the mapping screen at all.
At the moment I am pretty much stuck and I am genuinely looking for some help here.
Thanks
]]>Hello,
I am trying to setup a new mapping on one of my client’s sites. I successfully completed this on another site.
What is happening is after I have selected a Project, and then a Template, the next screen is not showing the Mapping Defaults. It shows Create Mapping for: Template Name, shows the Project and edit project templates link, and the mapping defaults tab. But within the tab, the only thing displaying is the set of 3 buttons (refresh, previous step, save mapping).
I have tried this several times with different projects. Can you please help?
]]>I’m getting a few Illegal string offset
warnings when I open the “GatherContent” page in WordPress. Nothing else is displayed, so I can’t actually do anything with the plugin. I’m getting this error immediately after activating the plugin and clicking on “GatherContent” in the admin menu. I haven’t configured the plugin at all. If I disable warnings or patch the plugin (as explained below), the page loads as it should. These are the full text of the warnings:
Warning: Illegal string offset 'fed5f7cb3f57119fe54948b89fd7d345' in /var/www/html/wp-content/plugins/gathercontent-import/includes/classes/views/view.php on line 68
Warning: Illegal string offset 'fed5f7cb3f57119fe54948b89fd7d345' in /var/www/html/wp-content/plugins/gathercontent-import/includes/classes/views/view.php on line 75
<
Warning: Illegal string offset 'fed5f7cb3f57119fe54948b89fd7d345' in /var/www/html/wp-content/plugins/gathercontent-import/includes/classes/views/view.php on line 78
The problem is that the View::views
variable is not being initialized correctly on line 28. It’s being initialized as a string, not as an array. So when it is later accessed as an array, PHP throws a warning. Making this change to line 28 fixes the problem:
protected static $views = [];
I’d rather not turn off warnings to fix this, since I’m working in a development environment. So I’ll probably just patch the plugin and hope it gets fixed in the next update. Thanks!
]]>Hi,
I’m mapping two different checkboxes fields from GatherContent into a single taxonomy in WordPress (see screenshot). After the import, only the values from the last GC checkbox field mapped (Project Tags) have been imported into WordPress, the first one above it (Label this checkboxes field) seems to be skipped or not even carried over it’s values despite the mapping configuration being correct.
Is there a reason for this behavior, or is probably a bug?
Thank you.
]]>Hi, is it possible to batch update posts or – even better – a cron task to automate pulling content from Gather Content as this seems to be what my client wants (they want to remove editors from wp-admin).
Thanks
]]>When I have LearnDash activated, I’m unable to get to a template mapping page. I can see the headers for template mapping, but not boxes appear to actually do the mapping. Not on default, or any of the content tabs. The only way to map content is to disable LearnDash it appears.
]]>I’m in need of a way to not affect the post status when content is imported. This is as simple as adding a “Do not change” option for the “Mapped WordPress Status” column in the Mapping Defaults tab of the Mapping Edit screen.
]]>Hello,
We have a development site setup and were attempting to test the latest version of this plugin, but the import process seems to hang at 1%.
The site is fully password protected, and we have CRON disabled currently. Any idea if those things could be an issue?
Thanks,
Jason
I don’t see any custom fields when trying to map. are advanced custom fields not supported? because that would be ideal.
php version 5.3.29
wordpress 4.6.1
I have not used this in a few weeks but I swear it used to keep the parent/child structure of posts that was set in GatherContent when content is imported to WP. I just did another test import and everything is flat, no pages have parents, sub-pages, etc.
]]>Hi,
I have installed and activated the plugin and I see a white screen on the import settings page:
/wp-admin/admin.php?page=gathercontent-import
There is nothing I can do and I have informed the support team as well and awaiting their resolution.
Cheers!
]]>Does the plugin now require templates? On the old version (pre 3.0) I was able to use the API to import content into GC and then use the plugin, mapping fields on the fly but it seems like you cannot import content now that does not have an assigned template.
]]>When I go to the template mappings in the admin and click ‘add new’ I just get an http error “The connection was reset”.
I’ve seen this behavior in both Firefox and Safari.
]]>Hello,
We noticed that the Pages that we imported from GatherContent to WordPress are imported out of order. Is there something that we could have done wrong? It doesn’t appear that we can set the order in whenever we configure the settings of each page we are importing.
Any insight is greatly appreciated.
Thank you!
]]>the import wizard is populating the select element just fine but when i click an option it doesn’t respond and respect the selection. i’m using chrome:
here is a screenshot for reference: https://glui.me/?i=lsoesljge2vrfwa/2016-01-31_at_7.29_PM_(1).png/
thx
]]>Can’t seem to get this plugin to work.
When I go to the “gather content” page it hangs and gives me a 504 error.
When installing the plugin I get the wp-includes/update.php error list.
Any thoughts as to what I can have the devs look at?
]]>Great plugin! However, it shouldn’t occupy a top-level spot on the admin menu. It makes more sense to either have it under the “Tools” menu, or listed among the other import tools in Tools > Import.
]]>Hi Folks,
After updating to the most recent version of the GatherContent Import plugin, we are now unable to import content from GC into individual pages of our website.
When we get to the configuration screen, click “Import as Page”, then click “Import to” – only 5 pages show up.
]]>I can’t seem to get beyond the first step – page=gathercontent-import&step=pages
When I select the articles I want to import and click submit, the pages are reloaded.
]]>