• Resolved massimod

    (@massimod)


    PHP 7.0.1 and WP 4.3.1

    When posting a new comment it fails, with

    SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data

    Not sure if this is a PHP 7 problem or not. Maybe.

    To see the error ENABLE

    define('WP_DEBUG_DISPLAY', true); // hides debug messages from showing in the browser

    https://www.ads-software.com/plugins/wpdiscuz/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author gVectors Team

    (@gvectors-team)

    This is a JS conflict with other plugins and current theme, Please make sure without those it still returns this error. You should deactivate those one by one and check after each deactivation. Finally you should switch to default theme and test. I’d recommend backup the database before this manipulation.
    And yes, it may be, we’ve not tested wpDiscuz on PHP 7 yet.

    Thread Starter massimod

    (@massimod)

    True, it seems to be a THEME conflict. With the default theme, no problem.

    What must i do now ?

    Thanks !

    Plugin Author gVectors Team

    (@gvectors-team)

    Hi MassimoD,
    To fined and solve this issue, you should check all JS processes using browser debugger and investigate all errors. Also it needs to inspect HTML issues related to comment form. This theme can add some form components in wpDiscuz form and affect ajax submission. As you understand we can’t provide with this kind of individual and extended support for each WordPress theme. Those are thousands and unfortunately, not every theme is written with WordPress theme standards, this is the main reason of such an incompatibility with wpDiscuz. If you’ll need to fix this issue please contact to our custom support team here, they provide with paid plugin/theme integration services: https://gvectors.com/contact-us/

    Thread Starter massimod

    (@massimod)

    All clear.

    Many thanks.

    Thread Starter massimod

    (@massimod)

    I would like to add that i have switched back to PHP 5.6 and no problem. So it it a PHP 7 problem, it remains to find out if it is a theme or a plugin problem.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Error when adding a comment’ is closed to new replies.