• Resolved alanbaker

    (@bakeralanbakernet)


    Hello. A user reported that page https://caspvt.org/activitylog/ issues message “Pods embed error: Pod not found” and does not present the usual data entry fields. This occurs whether logged in or not. The last successful use of this page was 2021/10/11 running 2.7.30 on the 5.8.1 core. The page hasn’t changed for a couple of years. It looks like this:

    <!-- wp:shortcode -->
    <p>Please enter the miles you've driven for CASP and the number of hours you've volunteered since your last log entry.</p>
    <p>Fields marked with <strong>*</strong> are required fields.</p>
    <p>[pods-form name="Activity Log" slug="activitylog" fields="first_name,last_name,log_date,hours,miles" label="Submit Log"]</p>
    <p>&nbsp;</p>
    <p>&nbsp;</p>
    <!-- /wp:shortcode -->

    Today I updated from 2.8.3 to 2.8.4 (on the 5.8.2 core) with same results. Can you give me any ideas on how to debug this?

    Thanks,
    Alan

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor Scott Kingsley Clark

    (@sc0ttkclark)

    Try using this shortcode instead:

    <p>[pods-form name="activitylog" fields="first_name,last_name,log_date,hours,miles" label="Submit Log"]</p>

    The way you used name/slug was not officially supported or documented for that kind of usage. When Pods 2.8 was released it resolved a bug that caused your shortcode to stop working the same way.

    By adjusting your shortcode it should quickly solve the problem and get things back to working. You can also try to use our new Pods Form block now available in Pods 2.8, it’s even better ??

    Thread Starter alanbaker

    (@bakeralanbakernet)

    Hi Scott,

    Thanks for the prompt reply. I changed the page as follow, but the behavior is unchanged. Your thoughts?

    <!-- wp:shortcode -->
    <p>Please enter the miles you've driven for CASP and the number of hours you've volunteered since your last log entry.</p>
    <p>Fields marked with <strong>*</strong> are required fields.</p>
    <p>[pods-form name="activitylog" fields="first_name,last_name,log_date,hours,miles" label="Submit Log"]</p>
    <p>&nbsp;</p>
    <p>&nbsp;</p>
    <!-- /wp:shortcode -->
    Plugin Contributor Scott Kingsley Clark

    (@sc0ttkclark)

    Can you confirm the pod name is “activitylog”? What type of pod is that (Post Type, Advanced Content Type, etc)?

    Can you provide the Pods Package for that pod at Pods Admin > Components > Migrate Packages?

    Thread Starter alanbaker

    (@bakeralanbakernet)

    Hi Scott,

    You nailed it. The pod name is “activity_log”. I added the underscore to the page’s form name and it works again. Thank you for a clear and speedy solution to a baffling problem.

    Alan

    Plugin Contributor Scott Kingsley Clark

    (@sc0ttkclark)

    Great, glad we were able to sort this out ??

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Pods embed error: Pod not found’ is closed to new replies.