Questions tagged [enqueue]
102 questions
0
votes
1 answer
Unable to enqueue js files in wordpress
I have been trying to convert my bootstrap theme to a WordPress theme but as soon as I add my js file I get this memory error.
The error looks like this
Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 20480 bytes) in…

Akhil Suresh
- 71
- 5
0
votes
1 answer
Queue: Enqueue vs Dequeue (Fill out table, Shift needed?)
I'm filling out this table and wondering if I did it right:
We learned it like this:
dequeue(Q) -> returns most front (right-hand) element
enqueue(Q,k) -> inserts k as new most rear (left-hand) element
I'm kinda unsure because I have to make a…

R0MAN
- 43
- 5
0
votes
1 answer
Enqueue Function
In this code rear++ is after allocating an element in a queue i.e, queue[rear] = ele; so the queue elements will start from index -1 where rear position will be -1 . How is this rear++ working after queue[rear]=ele;
void enqueue()
{
int ele;
…

Sakshi Pandey
- 1
- 4
0
votes
2 answers
Creating a Queue Class
I am trying to implement a queue class using linked implementation that has the functions enqueue, dequeue, and length. To my understand of queues, when first implemented the queue points to head and tail nodes which initially points to None. As…

NikeDog
- 33
- 7
0
votes
1 answer
Rails DelayedJob run_at Time Zone discrepancy
I am using Rails Delayed Job to en queue jobs to run at a specific time. I am in IST TimeZone. Delayed Job run_at is also configured to use IST TimeZone.
Now I want to trigger a job at 5:00 pm IST. I am storing '05:00 pm' as a string in my table…

Suganya Selvarajan
- 962
- 1
- 11
- 33
0
votes
1 answer
Need help in enqueue data into Redis queue From Go consumer
I am trying to push data in redis queue from my Go Consumer.
The package I am using is "github.com/kavu/go-resque"
The redis Driver I am using is "github.com/kavu/go-resque/go-redis" and "github.com/go-redis/redis"
My code looks like this…

Kashish Goyal
- 37
- 1
- 9
0
votes
1 answer
Kotlin Retrofit2 Enqueue "Unresolved reference Enqueue"
Hi I am getting an Unresolved reference Enqueue message and running out of options to resolve.
The Callback is made in a button setOnCLickListener in a Fragment.
Other suggestions have been to set the Gradle version to 3.1.3 (previously using 3.6.1)…

jcbird
- 31
- 1
- 8
0
votes
1 answer
Symfony - Multienviroment support for Envelope
I'm using enqueue-dev + messenger-enqueue-transport in symfony 4.3 (where i have multiple enviroments (.env)) with beanstalk.
How should i setup it so jobs from different enviroments don't get mixed in the same queue? (as beanstalk server is the…

FrakyDale
- 647
- 8
- 22
0
votes
1 answer
How can i fix a Mimetype error when uploading a stylesheet to wordpress?
My CSS
/*
Theme Name: Data Kraken
Theme URI: https://wordpress.com/themes/d-k/
Description: With bold featured images and bright, cheerful colors, Dara is ready to get to work for your business.
Version: 1.0.0
Author: Automattic
Author URI:…

Ryan Hinchliffe
- 167
- 1
- 7
0
votes
1 answer
Wordpress enqueue multiple stylesheets before tag
I want to load multiple css files into wordpress right before the closing head tag. The following code works, but it's being overruled by another stylesheet that is just before the closing head tag:
function alt_styles()
{
…

user3124133
- 43
- 6
0
votes
4 answers
wp functions.php doesn't enqueue js scripts
in my wp theme I'm trying to enqueue a js script. When I load the source code of my page it is nowhere to be seen.
my functions.php looks like this:
#LOAD JS
function loadjs()
{
wp_register_script('customjs', get_template_directory_uri()…
0
votes
1 answer
How to fix Error: "expression cannot be used as a function" when I change the type of a variable from Private to Public?
Trying to do a simple enqueue/dequeue operation by generating binary numbers but ran into an error in line#18
Main:
#include
#include "quetype.cpp"
#include "quetype.h"
#include
using namespace std;
int main()
{
…

GlitchInTheMatrix
- 39
- 6
0
votes
0 answers
Enqueue script to wordpress plugin not working
I'm trying to add to my frontpage plugin a "Back to top Arrow" like
https://www.w3schools.com/howto/howto_js_scroll_to_top.asp
I have put the JS code to a file and enqueued it.
Put the CSS code and enqueued it, an finaly put the HTML code for the…

Stefano Santin
- 13
- 4
0
votes
1 answer
How To Link Stylesheet Using Wordpress ENQUEUE Function
function webzone_sahil( ){
wp_enqueue_style( 'style', get_stylesheet_uri( ) );
}
add_action('wp_enqueue_scripts', 'webzone_sahil');
0
votes
0 answers
load custom css stylesheet in wp-comments-post.php
I want the core file wp-comments-post.php in wordpress to load my custom css and js files. What hook to use to enqueue those files?
user2982427