Please note that Form2Content is no longer being developed. All files from the latest version can be found on Github.

Form2Content Forum

Questions and answers for Form2Content, a Joomla CCK.
  1. Noel Clarke
  2. Form2Content Lite & Pro
  3. Friday, 02 November 2018
  4.  Subscribe via email
Just upgraded to Form2Content Pro version 6.17.4 on Joomla 3.9.

I now get an error message when batch refreshing:

Batch refresh F2C Articles
Processing items 0/20
parsererror: SyntaxError: Unexpected token < in JSON at position 0

It happens no matter how many articles I try to update.

I can save individual articles without issues.

Noel
Accepted Answer
Accepted Answer Pending Moderation
Hello Noel,

Thanks for sending me the back-up!

When I run the batch refresh and I analyze the JSON response, this is what I see:

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; plgContentObfuscateMe has a deprecated constructor in D:\Data\Apache\htdocs\uwehouses\plugins\content\ObfuscateMe\ObfuscateMe.php on line 46
{"errors":[],"processed":10}

This indicates that there's a plug-in ObfuscateMe that is generating warnings. These warnings are interfering with the JSON response and cause the error.

best,
Julien
Responses (8)
Accepted Answer Pending Moderation
I don't understand what you are saying here. The link goes to a Hewlett Packard support page about printer error codes.
  1. more than a month ago
  2. Form2Content Lite & Pro
  3. # 1
Accepted Answer Pending Moderation
Sorry, it was spam and has been removed.

I haven't been able to reproduce the issue yet. Will continue to test.
Please read the F2C documentation before asking questions! Thank you if you've done so ;)
  1. more than a month ago
  2. Form2Content Lite & Pro
  3. # 2
Accepted Answer Pending Moderation
Thanks, no wonder I was confused. Would you like access to the site to check it out?
  1. more than a month ago
  2. Form2Content Lite & Pro
  3. # 3
Accepted Answer Pending Moderation
I've just done some more checking. It seems that the articles are updating and the error is only showing after the update has completed.The issue seems to be with reporting that the batch process has completed rather than the batch process itself.
  1. more than a month ago
  2. Form2Content Lite & Pro
  3. # 4
Accepted Answer Pending Moderation
No, ignore that last post. It does relate to the batch process. The articles are not refreshing.
  1. more than a month ago
  2. Form2Content Lite & Pro
  3. # 5
Accepted Answer Pending Moderation
Hello Noel.

This is something I would like to debug.
Could you please send me an Akeeba back-up of your site to julien at opensourcdesign dot nl

Thanks!

best,
Julien
  1. more than a month ago
  2. Form2Content Lite & Pro
  3. # 6
Accepted Answer Pending Moderation
Thank you Julien, yes that's fixed it. I removed the ObfuscateMe plugin and now f2c refreshes fine.

Thanks for such a useful component, it's enabled me to make highly customised sites with very little programming knowledge.

Noel
  1. more than a month ago
  2. Form2Content Lite & Pro
  3. # 7
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.