Custom Fields
Re-Envisioned
Support MB Admin Columns Admin Columns: Sample code has PHP Errors?

  • Creator
    Topic
  • #31141
    jmcbade
    Participant

    I tried to use the sample code here as a starting point: Link: and even without changing a thing, the code is casting an incorrect EOF or missing ")" error in my editor (PHP Storm) and in my scripts plugin on the last line.

    I would like to create Admin Columns if I had a good starting point.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Author
    Replies
  • #31143
    Long Nguyen
    Moderator

    Hi,

    That means a closing parenthesis is missing in your code. Can you please recheck it? Or share the code that you use to create the field?

    #31147
    jmcbade
    Participant

    Long,

    I know that it's a closing parentheses error.

    I need you to read posts when I make them. You really need to slow down and read more carefully.

    I included a link from the code I am referring to in my original post. It's straight off the page from your site copied in it's entirety. I tried copying it with a "select" and I tried copying it using the "copy" button. Neither was successful.

    Try it yourself.

    #31148
    Long Nguyen
    Moderator

    Hi,

    Thanks for the feedback.

    If you use the code in the Quick Sample section https://docs.metabox.io/extensions/mb-admin-columns/#quick-sample
    it is missing closing parenthesis, screenshot https://share.getcloudapp.com/d5uRm6z8

    I will update the documentation to cover this issue.

    #31152
    jmcbade
    Participant

    Yes, that is what I was saying.

    BTW, also when you replied to me here, your system did not send any notification.

    #31184
    Long Nguyen
    Moderator

    Hi,

    The option notification on this topic is enabled. If you still do not receive the email notification, please let me know. I will inform the development team to re-check it.

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