I just upgraded and purchased the Advanced Sidebar Menu pro plugin and installed it.
Although the Basic version of the plugin works fine in Elementor, when enabling the pro version, Elementor is not able to load. Can you help please?
Overview of situation:
Please help ASAP.
OnPoint Plugins
Hi Gabriel,
I took a look at your site and can see there is an AJAX request from Elementor which is failing with a PHP error. Currently I can’t see what the actual error is because of the WP core error handling system and/or errors are not shown. As there are currently now known issues between this plugin and Elementor I’ll need the error to have something to go on.
Are you able to get and send me the PHP error log for the past hour or so? If not, I might be able to see the error if you add the following to the site’s wp-config.php:
Mat Lipe
Gabriel McCay
Hey Mat,
Thanks for the quick reply.
I have enabled those PHP variables in the WP-config file for the dev site.
I have also included the error log (scroll all the way to bottom) – see file here:
https://mega.nz/#!NPB0zYCR!5UzwVWiVeQg062Xt8MFrD-3B6CYrwXkF4yp1L4_uRiE
Let me know if you need anything else.
With Respect,
Gabriel
OnPoint Plugins
I’m not seeing anything in that log which would explain the 500 error being returned from the Ajax request. It looks like only Notice level errors and nothing from this plugin.
There is an error coming from
/wp-content/themes/cshbc/functions.php
on line 62 which may somehow be related. If you are able to provide the code on and around line 62, I can likely help you fix that error and we can see if it makes a difference?Gabriel McCay
Thank you for your help!
I’ve included the functions.php file from the current live theme.
https://mega.nz/#!4TBWUKSD!8NDxTWxQaHukn20qXXi1hA4hD5BCiTL_enTgpsYSEVk
OnPoint Plugins
I made a very small change to the file which will clear up the notice level error.
https://drive.google.com/file/d/1xCphiOwBJzZYxLiSKiDeT1VVYhCD0Px4/view?usp=sharing
Gabriel McCay
Unfortunately this didn’t fix it.
Is it possible the Ajax is being loaded twice. I’ve seen that in the past.
With Respect,
Gabriel
OnPoint Plugins
Based on what I’m seeing, there should be a fatal error showing up in the log each time the ajax call fires, because it is returning a 500 error:
The content returned also suggests a fatal error:
However, since you have disabled the WP error handling by adding the following to the
wp-config.php
we should not be seeing that message at all, but should instead be seeing the error.There is one other way to store an error log. If you add an additional constant to
wp-config.php
, an error log will start generating atwp-content/debug.log
which could contain more information:Also, since we are still getting the error message suggesting WP error handling is running, is there any kind of file or opcache that needs to be flushed to use the new configurations?
Gabriel McCay
I tried enabling that extra piece of code. I found a conflicting
define( ‘WP_DEBUG’, false );
And I have removed it.
Any other thoughts/ suggestions? Thanks so much for your help.
With Respect,
Gabriel
OnPoint Plugins
Hi Gabriel,
Strange, I’m still seeing the WP core default error handling output.
There is one more thing I haven’t tried, I see on your site you are currently running the PRO version of Elementor and I have been running tests against the basic version. If you would like to send me a copy of that plugin I can run the tests against the PRO version as well.
Have a great weekend!
Mat Lipe
Gabriel McCay
Sure thing.
Thanks for the help.
Please find this plugin file below