• In file: plugins/job-postings/include/class-pdf-export.php
    Line 406

    We have a case of:
    $content .= ....

    However it’s possible for $content to not be defined at this point, causing an error to the thrown into the error logs. As a simple fix just adding the following line above it works:
    $content = $content ?? '';

    But there may be a better solution, that was just a quick one I did to stop having my error log be filled.

  • The topic ‘E_WARNING: Undefined variable $content’ is closed to new replies.