Hi, I have this theme where an image, and some text are two separate blocks that share the same link so they currently operate separately and I wanted to get it where I could just click the main block and have it act as one link. I was trying out the following type of solution but it doesn’t...
Hi, I am getting a fatal error of PHP Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in...
on the following count line when upgrading from PHP 7.4 to PHP 8:
function orderByDate($items) {
//$tempDate = strtotime($item)...
Hi, I am getting a non-numeric value encountered warning on the line with the + in PHP 7.4. If I change the following from
// Color picker
case "color":
$default_color = '';
if ( isset($value['std']) ) {
if (...
Hi, I am getting a PHP Warning of undefined array key on the following line. Wondering how I can adjust this function to get the warning to go away?
$rows[$key] = $row['id'];
which is inside the following function
function getWorkingPapers() {
if(get_field('working-papers'...
Seems like this worked back in WP 5.4 and then broke in WP 5.5. Found this which seems related although I don't see I am using 'paged'.
https://core.trac.wordpress.org/ticket/50976
Hello, I have an old custom WP site that was working fine running PHP 7.3.9 and WP 4.9.18 and since upgrading to PHP 7.4.21 and WP 5.6.10 the archive links by year to access older data are no longer doing anything other than reloading the same page. I was wondering if someone might be able to...
Hi, how can I triple nest quotes so
jQuery(".navigation a[href*=#"+rnrSection+"]").parent().addClass("active");
has quotes around the # sign?
I am getting an
Uncaught Error: Syntax error, unrecognized expression: .navigation a[href*=#”+rnrSection+”]
that I think has to do with that.
Hi, I have some old PHP code I am trying to sort through and it is for pulling 3 upcoming events and I guess it was written so todays event doesn't show and am trying to fix that. I was wondering if anyone can make sense of this?
<ul>
<?php $urlSplits =...