SSL Labs ScoreSecurityHeaders.io ScoreHSTS Preloaded

Log in to participate

There is no cost to join RicheyWeb, and membership is a requirement to submit bug reports and participate in the support forums.

× Extension Discussions

Trying to get property 'id' of non-object in /plugins/system/nomadpro/nomadpro.p

More
5 months 3 weeks ago #3973 by trifecta
Oh my, that would be super fascinating. Yes, please share. I can deploy php, nginx, and nfs independently, but getting a proper load balancing setup is the last bit of the puzzle. You see these deployments (nginx marketplace) and they are using 6-8 scripts where to get basic functionality is around 4. The REAL concern of course is getting everything to work together.

I was hoping to run mysql on a separate server (cost saving) then move to mysql service when it becomes big enough. My problem is big database queries.

Anyway, I look forward to your presentation!

Please Log in or Create an account to join the conversation.

More
5 months 3 weeks ago - 5 months 3 weeks ago #3974 by michael
That was the same conclusion I came to, except I never plan to move the SQL server into the cluster. MariaDB has its own clustering built in (Galera) and will always outperform a containerized SQL server (with the same number of nodes). So I named my first node with expansion in mind, and plan to grow it into a cluster using HAProxy to distribute the load when that day comes. I read an interesting article about using HAProxy to distribute selects, but send all insert/update queries to a specific server to prevent fragmentation. It was very interesting.

Regarding load balancing - did you know that Kubernetes has a built in load balancer? I'm using NGINX as a reverse proxy, sending requests to the Kub load balancer (and often first to a Varnish cache server). It's ridiculously fast, and gives the ability to manage SSL certificates outside of the cluster.
Last edit: 5 months 3 weeks ago by michael.

Please Log in or Create an account to join the conversation.

More
5 months 3 weeks ago #3975 by trifecta
Hmmm, I will have to look into that. I just started using proxysql, becauase that was allowing me to send individual SQL queries to different databases for my region based customers, and to host that data locally to that user.

I will definitely look into HAproxy, Galera and the Kub Loadbalancer.

Nice shout!

Please Log in or Create an account to join the conversation.

More
4 months 4 weeks ago #3999 by trifecta
Hi Michael,

I am still getting this error, even after the upgrade. I am getting this error while viewing a custom component.

Line 38 is:
if ($grouprules = array_filter((array) $this->params->get('grouprules', array()), array($this, 'filterGroup')))
{
$firstrule = array_shift($grouprules);
$this->doredirect = $firstrule->homepage;
return true;
}

One last item for you, When the pop-up appears due to timeout, the javascript link is in http. I get an (blocked:mixed-content) on this links because my site is https only. I have the joomla global configuration for SSL, so maybe there is a way to monitor that setting and set the URL accordingly, or just have a drop down to specify in the plugin area?

Please Log in or Create an account to join the conversation.

More
4 months 4 weeks ago #4000 by michael
There were some pretty specific things I had to do because I was running http internally and https externally. There are some specific headers to be sent in order to get Joomla to talk http, while pretending it's https.

Anyway, what is the specific error you're getting on line 38? Originally it was "property 'id' of a non-object" but there is no reference to ID in line 38. It must be a new/different error.

Are you running PHP OPCache? A lot of sites suggest turning off mtime checking in PHP config, but that requires a restart of PHP-FPM in order to refresh the OPCache.

Please Log in or Create an account to join the conversation.

More
4 months 4 weeks ago #4001 by trifecta
2019/06/20 12:23:55 [error] 6145#0: *588 FastCGI sent in stderr: "PHP message: PHP Notice: Trying to get property 'id' of non-object in /plugins/system/nomadpro/nomadpro.php on line 38" while reading response header from upstream, client: X.X.X.X, server: trifectabillingengine.com, request: "POST /index.php?option=com_billingengine&task=BillingEngine.getBoundData HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "trifectabillingengine.com", referrer: " trifectabillingengine.com/callrecords "

I am not running Opcache, but i am using a CDN

Please Log in or Create an account to join the conversation.

  • Not Allowed: to create new topic.
  • Not Allowed: to reply.
  • Not Allowed: to edit your message.
Powered by Kunena Forum