Site Builder Studio

SITEBUILDERSTUDIO

Developers Blog

Resources, tips, and solutions we hope other devs will find when needed.

In Laravel you can batch queries so each only executes if they all do

In Laravel, transactions are handled using the DB facade, which provides a simple interface for beginning, committing, and rolling back transactions. The beginTransaction method is used to start a transaction, and the commit method is used to commit the transaction. If an error occurs during the transaction, the rollBack method can be used to roll […]

April 9, 2023

cURL error 7: Failed to connect to 127.0.0.1 port 7700: Connection refused

This error will occur when a required service isn’t started on your machine. For instance if laravel scout driver is meilisearch, make sure meilisearch is started. Some service your configuration is requiring, which uses cURL, is not available and needs to run to fix cURL error 7: Failed to connect to 127.0.0.1 port 7700: Connection […]

December 16, 2022

Search result shows pagination but not results

I’ve got Scout going with Algolia as driver ( same issue occurred with Meilisearch as driver ) , when searching for query I know has plenty of results I’m getting pagination links but zero results shown on page. It seems to make no difference what scout driver is used, the issue popped up with both. […]

December 16, 2022