• After I reported yesterday I had a conflict when activating Upicrm with popup maker + contactform 7, I thought I solved this.
    See https://wordpress.org/support/topic/wordpress-5-5-conflict-with-upicrm-contactform7-popup-maker/

    But today I got the same problem and the contactform 7 kept sending without the popup (maker) “the message was sent”
    The WordPress 5.5.1 Health control displays this when Upicrm is activated :

    *1 critical issue

    An active PHP session was detected
    Performance
    A PHP session was created by a session_start() function call. This interferes with REST API and loopback requests. The session should be closed by session_write_close() before making any HTTP requests.*

    After I deactivated Upicrm this issue was gone and contactform7+popupmaker works.

    And ofcourse I did all the regular debug stuff, but now I it seems a bug in Upicrm.
    Can this be fixed?

Viewing 4 replies - 1 through 4 (of 4 total)
  • webitman

    (@webitman)

    Anyone ?

    It seems UpiCRM gives this message in the Site Health

    A PHP session was created by a session_start() function call. This interferes with REST API and loopback requests. The session should be closed by session_write_close() before making any HTTP requests.

    When I deactivate UpiCRM this message is gone and the health is GOOD

    So I assume it may be an issue in one of the sessions in UpiCRM

    Plugin Author Upi

    (@upi)

    Hello,
    we’re checking this with the dev team.
    Thanks
    Uri

    Plugin Author Upi

    (@upi)

    Hello,
    can you please either here or through our web site – submit the complete error message, including indication of code lines etc ?
    Thanks
    Uri

    webitman

    (@webitman)

    Hello Uri,

    Such kind of errors are caused since the WordPress 5.2 and the introduction of a new tool called Site Health.
    According to the statement of the WordPress team – WordPress does not use sessions in any way at all. All user states are controlled with cookies.
    I use the plugin jQuery Migrate Helper till WordPress 5.6 solves more issues.

    However UpiCRM still uses @session_start();
    Line 28 of upicrm.php @session_start();
    When remarked like //@session_start(); the health is GOOD
    However the session referers from line 114 till line 160 are without the session_start, mostly utm referers, which I don’t use.

    With jQuery Migrate Helper deprecations appear.
    After uploading the changed upicrm.php UpiCRM gives the following errorlist, in my case, 27 lines of
    /wp-content/plugins/upi-crm-universal-crm-solution/resources/js/app.js: jQuery.fn.size() is deprecated; use the .length property
    ending with

    Please make sure you are using the latest version of all of your plugins, and your theme. If you are, you may want to ask the developers of the code mentioned in the warnings for an update.

    It’s still not certain UpiCRM conflicts this, but with the above mentioned line remarked, the issue disappears.
    I hope this will give you an idea ?

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.