Feature Request: PHP error log for MB Views based code

Support MB Views Feature Request: PHP error log for MB Views based code

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #38138
    Prabakaran ShankarPrabakaran Shankar
    Participant

    Hello Team,
    Thank you for the functionality of plugin. However, if we did any mistake in MB Views, we get the error log as follows for some type of errors "PHP warning: Undefined array key "type" in /var/web/site/public_html/wp-content/plugins/meta-box/inc/field.php on line 607, PHP Warning: Undefined array key "id" in /var/web/site/public_html/wp-content/plugins/meta-box/inc/field.php on line 609".
    Is that possible to get specific error report to find the exact mistake in the MB Views?

    #38144
    Long NguyenLong Nguyen
    Moderator

    Hi,

    Thank you for your suggestion.

    Currently, the MB Views extension uses a parser to parse the Twig code (View content) to the PHP code and run on your server. In this case, it's so hard to point the error on an exact line like using PHP code, you have to read the log to find the error on your code.
    I will inform the development team to consider supporting this feature in future updates.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.