• beachmat

    (@beachmat)


    This is causing critical errors for me. It was working initially, but now even if I remove the function from the visibility field, it still crashes. If I competely delete the item that had it applied, then the page will render again.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Jonathan Horowitz

    (@jhorowitz)

    Hi @beachmat,

    Sorry to hear you are having trouble with the plugin! Could you please share the error messages from your error log? You can email them to me via jhorowitz@aod-tech.com or post them here.

    Thanks!

    Plugin Author Jonathan Horowitz

    (@jhorowitz)

    Also, which version of Divi are you using? Is it the theme or the builder plugin?

    Thread Starter beachmat

    (@beachmat)

    I’m using the latest Divi 5 theme beta.

    The debug log says

    PHP Parse error: syntax error, unexpected token “;” in /home/eyredesi/staging-z.eyre-design.co.uk/wp-content/plugins/content-visibility-for-divi-builder/includes/plugin.class.php(233) : eval()’d code on line 1

    Plugin Author Jonathan Horowitz

    (@jhorowitz)

    That would indicate an error in the visibility field code, by trying to execute multiple statements separated by semicolons. If you need multiple statements, you should define a custom function in your theme’s functions.php that returns a boolean and call it in the visibility field.

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

You must be logged in to reply to this topic.