_Error thrown -n- else

Hi all

concerning: https://pibella.com
| WordPress 5.0.3 | x-Version: 6.4.6 |

blog in general: https://pibella.com/pibella-user-reviews/
blog sidenav appears within the blogs: https://pibella.com/empowered-pibella-urination-device/

  1. after every search the submenue don’t function any more.

  2. on some searches or klicking a tag, the side remains blank, exept the menue bar on top
    –> example: https://pibella.com/?s=I+just+got+my+pibella+urination+device.

  3. when a category or tag is chossen, on the very botten apperars:
    Error thrown Call to undefined function round_num()

hope you find a solution an many thank, ben

Hi Ben,

Thanks for reaching out.

It’s all related to that error and that error prevents the loading the rest of the page including the footer area where other javascripts are loaded.

You could try testing for a plugin conflict. You can do this by deactivating all third party plugins, and seeing if the problem remains. If it’s fixed, you’ll know a plugin caused the problem, and you can narrow down which one by reactivating them one at a time.

Let us know how it goes!

ok thanks Rad, I go through this on the stage server - till later

You’re welcome, Ben.

hello again

I’ve tried everthing, reduced the plugins to the absolute minimum, deactivated function.php, css, searchfunction … and else
but the error remains: Error thrown Call to undefined function roundnum()
always at the end of categories list

may I provide you with a login to teh stage server?

Thanks and till soon, ben

Hey @LittleBigBen,

I deactivated all third party plugins and switched to the parent theme and the issue does not happen in your staging site https://stage.pibella.com/?s=I+just+got+my+pibella+urination+device. I then activated all plugins and still no issue.

When I activated your child theme, that’s when I got this error.

Please switch to the parent theme in your live site and debug the child theme in your staging site. Search for code blocks where round_num function is used. If you’re not familiar with PHP development, please consult with a third party developer to fix the child theme.

Thanks.

many thanks

on your fixes, there is no more sidenav (-> http://bluehuus.ch/_dl/functions.php.zip), located in the x-child.
My guess the error is in functions.php. when I deactivat it, the sidenav is gone. without sidenav blogs are not listed and the error appears always at the end of the list.

(I’don’t mean the main list at the beginning: https://stage.pibella.com/pibella-user-reviews/
this is solved with wp-bakery.

you guys helped me out with with the script “// Blog Side-Navigation by x-Theme” on the functions.phph (on the very bottem) so we would have a sidenav just on the blog site.

I activeted the d (‘WP_DEBUG’, true) on https://stage.pibella.com
two errors are shown on wp-inculdes/functions.php !?!
(–> bluehuus.ch/_dl/wp-inculdes-functions.php.zip)

you think you could check this again, I appreciate it very much, thanks, ben

Hey Ben,

I didn’t get those warnings when I checked and only 1 of those warnings and notices you pointed out is related to our products and that is:

/wp-content/plugins/tco-google-analytics/functions/options.php on line 50

That is a separate problem but it is not the cause of the error you’ve experienced. Warnings and notices could not stop functions to run.

The custom codes we suggest here serves only as a guide. Maintaining them including fixing and enhancing is not covered in our product support. We’re sorry if this wasn’t made clear.

I hope you’ll understand that custom development is a premium service which we do not currently offer. Maintenance of code is quite involved.

You can hide the notices and warnings by adding this code in wp-config.php below the WP_DEBUG line.

// Enable Debug logging to the /wp-content/debug.log file
define( 'WP_DEBUG_LOG', true );

// Disable display of errors and warnings 
define( 'WP_DEBUG_DISPLAY', false );
@ini_set( 'display_errors', 0 );

Thank you for understanding.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.