Drupal custom page with wildcards in url not working I have created a custom page at admin/structure/pages and have set the path to be 

course-details/%id/%name


My intention is that there will be a custom block appearing on this page and the id and the name, in the URI, will pass data to the custom block. I have the block working fine and it is pulling data from a test page URI as expected. I now need to embed this block onto the course-details page, which contains content that must appear for any hit on this page regardless of the id and name.

In the settings => arguments for this page I have set the two arguments to be strings

In settings => access I have set "all criteria must pass"

When I hit the page with no id or name I see the course-details page, at this stage I do not have the custom block enabled, and I am seeing the content that must appear on all course-details pages.

However when I add the id and name, an example is as follows

course-details/ACM20110-01V03/certificate-ii-in-animal-studies


I am getting a 404 error. It seems the id and name are causing me trouble. 

I have spent hours hunting on Google for trying to get my head around why this is not working. I am probably doing something silly.

Could anyone please help with this issue.
By using the named wildcards %id and %name as wildcards, Drupal will look for functions named id_load() and name_load(). It will pass the values of these wildcards to those functions, and use the return values as the arguments passed to the page callback. If the _load functions are not found, or if a FALSE value is returned, or no value is returned, you will get the error you are seeing.

I'm suspecting you want your path to be:

course-details/%/%