Replies: 1 comment
-
| Check out please recommendations in discussion #15915 | 
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hey friends,
Love everything about Phalcon. So thank you to everyone who contributes.
I have an old Docker image running
PHP Version 7.0.30-1+ubuntu16.04.1+deb.sury.org+1withPhalcon version 3.4.0that was upgraded to a new server with Phalcon version4.0.5running on5.10.76-linuxkit- fromphp:7.4-apache.I can't for the life of me figure out why I have some tables that do not respond from the
hasManyrelationships on certain models and looking to get anyones input, suggestions.Here is what happens:
I have
Model A-> hasManyModel Bs.When I would
find()Model A'sand referencemodelA->modelBPartsin something like a foreach loop for instance, it'll just hang forever and sometimes max out memory (500mb).Now for other relationships like
Model C -> Model D, no issues with the hasMany. I've looked to confirm my MySql database is index in that area and looked at some of the PDO settings as well. I've even tried direct psql.Thank you again for your time.
Beta Was this translation helpful? Give feedback.
All reactions