Home>Support>Conflict between Page Builder and WP-Matomo

Conflict between Page Builder and WP-Matomo

Hi,

I had the problem, that the pagebuilder disappered on pages. Even I had created them before.

Now I found out, by deactivating the WP-Matomo Plugin it works again.

Is this a known issue?

I am using Genesis/Dynamik Website builder.

Carsten

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 4 years, 7 months ago Carsten-Andres Werner

    ah, still I get »service unavailable« in some of the widgets.

  2. 4 years, 7 months ago Andrew Misplon
    Hi, I Work Here

    Hi Carsten

    Thanks for posting.

    In a quick test, I can activate WP-Matomo and use Page Builder.

    To confirm the conflict, temporarily switch to a default theme like Twenty Nineteen and deactivate all plugins except for WP-Matomo and Page Builder. In this state, does the issue persist?

  3. 4 years, 7 months ago Carsten-Andres Werner

    Hi Andrew,
    I just did as you said … switched to the thentytwenty theme and had only the plugins WP-Matomo and Page Builder active.
    The issue still persists. The PageBuilder was not available.

    ?

  4. 4 years, 7 months ago Andrew Misplon
    Hi, I Work Here

    Thanks. When the issue is visible, check for errors in the browser console, if errors are present, screenshot, upload to imgur.com and send us the link. Thanks.

    https://wordpress.org/support/article/using-your-browser-to-diagnose-javascript-errors/#step-3-diagnosis

  5. 4 years, 7 months ago Carsten-Andres Werner

    Actually, there is no error showing up …

  6. 4 years, 7 months ago Andrew Misplon
    Hi, I Work Here

    Thanks. Are you using Page Builder by SiteOrigin?

  7. 4 years, 7 months ago Carsten-Andres Werner

    Yes, that’s why I am posting it here.
    No I got an error showing up on top of the page:

    te_function() is deprecated in /mnt/web218/e3/93/51090893/htdocs/SLA/wp-content/themes/dynamik-gen/lib/functions/navbars.php on line 312 Warning: Cannot modify header information – headers already sent by (output started at /mnt/web218/e3/93/51090893/htdocs/SLA/wp-content/themes/dynamik-gen/lib/functions/navbars.php:312) in /mnt/web218/e3/93/51090893/htdocs/SLA/wp-includes/functions.php on line 6029 Warning: Cannot modify header information – headers already sent by (output started at /mnt/web218/e3/93/51090893/htdocs/SLA/wp-content/themes/dynamik-gen/lib/functions/navbars.php:312) in /mnt/web218/e3/93/51090893/htdocs/SLA/wp-admin/includes/misc.php on line 1252 Warning: Cannot modify header information – headers already sent by (output started at /mnt/web218/e3/93/51090893/htdocs/SLA/wp-content/themes/dynamik-gen/lib/functions/navbars.php:312) in /mnt/web218/e3/93/51090893/htdocs/SLA/wp-admin/admin-

  8. 4 years, 7 months ago Carsten-Andres Werner

    … which does not change regardless both plugins activated or not.

  9. 4 years, 7 months ago Andrew Misplon
    Hi, I Work Here

    Thanks.

    That looks to be a warning, it shouldn’t be related but to test you could temporarily switch to a default theme as the warning is related to your theme.

  10. 4 years, 7 months ago Andrew Misplon
    Hi, I Work Here

    If there aren’t any console errors present, you’d need to look to the PHP error logs for a clue as to what the issue might be, here is how https://www.wpbeginner.com/wp-tutorials/how-to-set-up-wordpress-error-logs-in-wp-config/.

  11. 4 years, 7 months ago Carsten-Andres Werner

    ok … with default theme »twentytwenty« activated, »Page Builder by SiteOrigin« and »WP-Matomo« activated at the same time, the page builder not showing up, there is no error or warning.

  12. 4 years, 7 months ago Andrew Misplon
    Hi, I Work Here

    You’d now need to look to the PHP error logs to investigate further.

  13. 4 years, 7 months ago Carsten-Andres Werner

    I’ve done that already …

  14. 4 years, 7 months ago Andrew Misplon
    Hi, I Work Here

    To confirm, WP_DEBUG and WP_DEBUG_LOG is set to true in your wp-config.php file, you’ve recreated the issue and then checked the debug.log file in your /wp-content/ folder?

  15. 4 years, 7 months ago Carsten-Andres Werner

    I checked again …
    WP_DEBUG und WP_DEBUG_LOG are set to TRUE in my wp-config.php file. I reloaded the page several times with the recreated issue and without,

    There is no debug.log in /wp-content/

    sorry

  16. 4 years, 7 months ago Andrew Misplon
    Hi, I Work Here

    That might be a separate issue. See the heading WordPress Debug Log is not Created here https://wp-staging.com/docs/enable-wordpress-debug-log-mode/.

    I’ve now signed up for an account and gone through the setup process on a live site, I, unfortunately, can’t recreate the issue.

    https://imgur.com/a/WvlMr58

  17. 4 years, 7 months ago Carsten-Andres Werner

    ah, now there is a febug.log

    I recopied the lines from your latest link.

    The log says:
    [28-Jan-2020 15:32:39 UTC] PHP Deprecated: Cannot use “parent” when current class scope has no parent in /mnt/web218/e3/93/51090893/htdocs/SLA/wp-content/plugins/ninja-forms/includes/Abstracts/Field.php on line 210
    [28-Jan-2020 15:32:40 UTC] PHP Deprecated: Function create_function() is deprecated in /mnt/web218/e3/93/51090893/htdocs/SLA/wp-content/themes/dynamik-gen/lib/functions/navbars.php on line 312
    [28-Jan-2020 15:32:40 UTC] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /mnt/web218/e3/93/51090893/htdocs/SLA/wp-content/plugins/insert-php/includes/jsonmapper/class-json-mapper.php on line 282
    [28-Jan-2020 15:32:45 UTC] PHP Fatal error: Uncaught Zend_Db_Statement_Mysqli_Exception: Mysqli prepare error: MySQL server has gone away in /mnt/web218/e3/93/51090893/htdocs/analytics/libs/Zend/Db/Statement/Mysqli.php:77
    Stack trace:
    #0 /mnt/web218/e3/93/51090893/htdocs/analytics/libs/Zend/Db/Statement.php(115): Zend_Db_Statement_Mysqli->_prepare()
    #1 /mnt/web218/e3/93/51090893/htdocs/analytics/libs/Zend/Db/Adapter/Mysqli.php(419): Zend_Db_Statement->__construct()
    #2 /mnt/web218/e3/93/51090893/htdocs/analytics/libs/Zend/Db/Adapter/Abstract.php(478): Zend_Db_Adapter_Mysqli->prepare()
    #3 /mnt/web218/e3/93/51090893/htdocs/analytics/libs/Zend/Db/Adapter/Abstract.php(755): Zend_Db_Adapter_Abstract->query()
    #4 /mnt/web218/e3/93/51090893/htdocs/analytics/plugins/UsersManager/Model.php(255): Zend_Db_Adapter_Abstract->fetchRow()
    #5 /mnt/web218/e3/93/51090893/htdocs/analytics/plugins/Login/Auth.php(90): Piwik\Plugins\UsersManager\Model->getUserByTokenAuth()
    #6 /mnt/web218/e3/93/51090893/htdocs/analytics/plugins/Login/Auth.php(59): Piwik\Plugins\Login\Auth->auth in /mnt/web218/e3/93/51090893/htdocs/analytics/libs/Zend/Db/Statement/Mysqli.php on line 77

  18. 4 years, 7 months ago Alex S
    Hi, I Work Here

    Hi Carsten,

    Thank you for the error log. The error log you provided suggests this may be a conflict between Matomo, SiteOrigin Page Builder and analytics software you have installed on your server. This would explain why Andrew hasn’t been able to replicate this issue as he won’t have the analytics software installed.

    Can you please temporarily disable the analytics software and then try replicating this issue again?

  19. 4 years, 7 months ago Carsten-Andres Werner

    Hi Alex, I have no further analytics software in use. Only the matomo install that shows up as /analytics/

    And as we know, without Matomo it works. What else can I switch off?

    Since I take care of more then 10 web sites with a similar setup – but not with the same issue – I am worried it might happen again elsewhere.

  20. 4 years, 7 months ago Alex S
    Hi, I Work Here

    Hi Carsten,

    Ah. The provided debug also the following error message:

    Mysqli prepare error: MySQL server has gone away 
    

    This error is referenced by Matomo here. Please try the troubleshooting steps they recommend to see if that helps.

  21. 4 years, 7 months ago Carsten-Andres Werner

    urgh … yes, the old problem with Matomo and the PHP Version. I recently updated to PHP 7.4 …

    Can this be the reason?

  22. 4 years, 7 months ago Alex S
    Hi, I Work Here

    Hi Carsten,

    SiteOrigin Page Builder is compatible with PHP 7.4. Is Matomo compatible? If you’re not sure, I recommend checking with the developers.

  23. 4 years, 7 months ago Carsten-Andres Werner

    Hi Alex,
    i tried PHP 7.3 and 7.2 – no difference. And Matomo should be compatible to all of them.

  24. 4 years, 7 months ago Alex S
    Hi, I Work Here

    Hi Carsten,

    Matomo appears to support PHP 7, but I recommend double-checking with the developers to ensure they support the specific version(s) you’re using. Did you try completing the suggestions outlined on this page?

    Can you please list any differences between this website and your other websites with a similar setup that are unaffected? Are they all on the same server?

Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More