The problem now is that I need to execute an INNER JOIN between my Users table and my Recipes table because I have too many users. I had too many users already and then after I posted the previous inquiry, 800 new users were added to my users table in my database. An enemy from Germany (BU) registered over 800 email addresses and now my users table is too full. This is what I have in my CategoriesController:
Just to be sure, your recipes table does in fact have a column called user_id? Did you remember to create that on your localhost but forget on the server?
Anyway, I think that with the belongsTo being set on the recipes table, you shouldn’t need to to a manual join. Just make sure you ->contain('Users') when you find recipes, and it should do that for you.
I looked at PageSpeed Insights, a web site analysis tool that tells you what is slowing down your website and it said that resources are blocking the first paint of my page and to consider delivering critical JS/CSS inline and deferring all non-critical JS/styles
There should be no need for the conditions on the containment, assuming that the relation between those tables is set up correctly. That’s sort of the whole point of containment…