Questions tagged [availability]

149 questions
3
votes
3 answers

PHP error in woocommerce_get_availability filter hook

In WooCommerce, for some reason I am getting this error: Warning: Invalid argument supplied for foreach() in /home//wp-content/themes/flat/functions.php on line 32 The error only appears with simple products, not variable products with multiple…
Loz Glen
  • 61
  • 1
  • 2
3
votes
1 answer

Operation cannot be performed on database because it is involved in a database mirroring session or an availability group (Azure)

I am experiencing an intermittent issue with SQL Azure. I am copying a readonly SQL Azure database (V12) from one elastic pool into another. Once the database is copied, I set it to read/write using: $"ALTER DATABASE [{databaseName}] SET…
3
votes
0 answers

Is there any way for XCode 7 to warn about new API calls?

On more than one occasion I've seen crashing bugs appear on iOS 7.x due to use of a new call that was introduced in 8.x without proper checking. Is there a way for XCode7 to warn about classes, methods and procedures that are only available a later…
2
votes
1 answer

Scaling out MULTIPLE Redis backplanes with SignalR in a .NET framework environment

Environment: .NET framework 4.8 backend. SignalR is used for some of the messaging. Problem: The application is running on a single server and needs to be scaled out. Having a single point of failure is also extremely bad for the availability.…
OvalOlive
  • 115
  • 1
  • 8
2
votes
0 answers

Amazon DyanamoDB health check

I tried to find that "How to check Amazon DynamoDB's availability and connectivity" And I found some ways : Availability Check (1) Using CURL command When I using CURL command, that only return HTTP 200 status code. Command Example: curl -X GET…
2
votes
0 answers

URL reporting Availability URL in unknown to Google in GSC live test

My homepage URL was removed from Google's index. When I run the live test I receive Availability - URL is unknown to Google - with N/A for all other results. (screenshot attached) Does anyone what might be causing this? I have…
Aimee J
  • 21
  • 2
2
votes
1 answer

Declare method unavailable since a specific version of iOS in swift 5

I wish to achieve something like that: @unavailable(iOS 11.0, *) func oldWay() { ... } @available(iOS 11.0, *) func newWay() { ... } I've tried things like @available(iOS 11.0, unavailable, *) but it does not compile. My problem is that…
Zaphod
  • 6,758
  • 3
  • 40
  • 60
2
votes
0 answers

Woocommerce Backorder Stock Manage

Thank you for reading my question. I believe my function could be useful to the community. I am trying to sell products that I have in stock, but also allow backorders for the same and other products that my suppliers have in stock. I import the…
Elidjas
  • 21
  • 1
2
votes
1 answer

How to remove unsupported ARPlaneAnchor.Classification enum cases when running on iOS 12?

Apple announced that with ARKit 3 (iOS 13), ARPlaneAnchor.Classification is getting two new values: My project is targeting iOS 12.1. I have the following code in my app: extension ARPlaneAnchor.Classification { var description: String { …
Senseful
  • 86,719
  • 67
  • 308
  • 465
2
votes
1 answer

How to do availability test for OAuth 2.0 Protected APIs in Azure

I am creating availability test for Azure APIs in Application Insights but these test are failing because of unauthorised access. It says JVT validation failed since token is not present. When I test the same from developer portal and generate…
2
votes
2 answers

Towards understanding availability of xdg-open

I want to open an image, and in Windows I do: #include .. ShellExecute(NULL, "open", "https://gsamaras.files.wordpress.com/2018/11/chronosgod.png", NULL, NULL, SW_SHOWNORMAL); I would like to use a Linux approach, where it's so much…
gsamaras
  • 71,951
  • 46
  • 188
  • 305
2
votes
2 answers

How to determine combined room availability DDD

I revamped our availability engine few month ago in order to move our logic from a DB to a micro service. At that time, the business logic was fairly simple: A resource (meeting room, desk, empty office, equipment) is available on a given time…
user4478810
2
votes
0 answers

FusedLocationProviderClient getLocationAvailability needs a delay to give a correct result

I'm trying to get last location checking first if GPS is enabled, I ask user to go to settings to enable it if it's not, and when I go back from settings to my app, after enabling GPS location, and I check if GPS is available, I get it's not…
Rober
  • 21
  • 4
2
votes
1 answer

Date intersection and space availability

I am currently trying to check availability on a "space" within a date range, while this date range can be indefinitely long. The tables are as follows: Space: id available_spaces name 1 20 Space 1 2 40 …
Kasper Helsted
  • 219
  • 1
  • 13
2
votes
1 answer

Monitoring Spring boot applications : gather service/node availability data for offline reporting

I would like to gather and store data on the availability of the service or node. The day after I could summarize the figures, like { day-1: service = 98.5%; day-2 = 99%}. I could get the data by calling a simple rest (ping) service (e.g. via…
tm1701
  • 7,307
  • 17
  • 79
  • 168
1
2
3
9 10