• Resolved Johnathan S.

    (@smgteam)


    Currently, we have an issue with the file class-acf-for-dokan.php: on line 211. Here, we had to directly insert the following code to avoid the error:

    if(empty($custom_field)){$custom_field = '';}

    However, as you know, making this modification directly in the plugin would result in losing these changes when updating the plugin, causing the error to reappear.

    We tried changing the file through a child theme, using the same plugin path, but without success. We think there might be a restriction for making changes to the plugin in this manner.

    We also attempted to use a hook, but that was unsuccessful too.

    We would appreciate it if you could provide us with a way to edit the plugin or if you know how to solve this error, or the reason behind it. Thank you for your attention.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author krazyplugins

    (@krazyplugins)

    Hello @smgteam,

    Yes, the if condition is the only solution for the issue. I will update the plugin soon with that condition and future updates will work fine. It would be great if you can send an email to [email protected] with the code update so we can make sure it is covered.

    Thanks

    Thread Starter Johnathan S.

    (@smgteam)

    Thank you, @krazyplugins.

    Just sent the message with all the info to the email provided. Let me know if you need anything else!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘class-acf-for-dokan.php error’ is closed to new replies.