New to WP and new to Pagelayer / PopularFX. Getting two new errors on every page. Did verify error occurs with all other plugins disabled. Errors are:
Warning: Undefined array key "primary" in /home/cincymoo/public_html/wp-content/plugins/pagelayer/main/shortcode_functions.php on line 949
Warning: Trying to access array offset on null in /home/cincymoo/public_html/wp-content/plugins/pagelayer/main/shortcode_functions.php on line 949
Code from line 933 - 956 is below if it helps:
// Apply global typo
foreach($pagelayer->typo_props as $typo => $typo_key){
// Backspace compatibility for normal array and if is set global in '$' format like $primary
if(is_array($value) && !empty($value[$typo])){
$val[$typo] = $value[$typo];
}
if(!empty($value[$typo_key])){
$val[$typo] = $value[$typo_key];
}
if(!empty($val[$typo]) || empty($global_typo)){
continue;
}
$global_val = $pagelayer->global_fonts[$global_typo]['value'];
if( empty($global_val[$typo_key]) || (is_array($global_val[$typo_key]) && empty($global_val[$typo_key][$mk])) || (!is_array($global_val[$typo_key]) && !empty($_desk_global) && $mk != 'desktop') ){
continue;
}
$val[$typo] = 'var(--pagelayer-font-'.$global_typo.'-'.$typo_key.')';
}
Any ideas where to start or other lines should be looking at?
Warning: Undefined array key "primary" in /home/cincymoo/public_html/wp-content/plugins/pagelayer/main/shortcode_functions.php on line 949
Warning: Trying to access array offset on null in /home/cincymoo/public_html/wp-content/plugins/pagelayer/main/shortcode_functions.php on line 949
Code from line 933 - 956 is below if it helps:
// Apply global typo
foreach($pagelayer->typo_props as $typo => $typo_key){
// Backspace compatibility for normal array and if is set global in '$' format like $primary
if(is_array($value) && !empty($value[$typo])){
$val[$typo] = $value[$typo];
}
if(!empty($value[$typo_key])){
$val[$typo] = $value[$typo_key];
}
if(!empty($val[$typo]) || empty($global_typo)){
continue;
}
$global_val = $pagelayer->global_fonts[$global_typo]['value'];
if( empty($global_val[$typo_key]) || (is_array($global_val[$typo_key]) && empty($global_val[$typo_key][$mk])) || (!is_array($global_val[$typo_key]) && !empty($_desk_global) && $mk != 'desktop') ){
continue;
}
$val[$typo] = 'var(--pagelayer-font-'.$global_typo.'-'.$typo_key.')';
}
Any ideas where to start or other lines should be looking at?
| # | Наименование новости | Тональность | Информативность | Дата публикации |
|---|---|---|---|---|
| 1 | Ticket #66328 (Recovery mode does not recognize network-activated plugins) created | 0 | 5.92 | 16-10-2026 |
| 2 | Nex Forms JavaScript Conflict | 0 | 8.63 | 13-10-2026 |
| 3 | FlipCards Back Content Font Weight | 0 | 17.68 | 13-10-2026 |
| 4 | New Wordpress Website - 500 Internal Server Error | 0 | 8.22 | 20-09-2026 |
| 5 | Reply To: Astra 4.13.7 fatal: WP_Error::get_data() class-astra-elementor.php:388 | 0 | 16.41 | 09-08-2026 |
| 6 | Reply To: Heading of a page invisible only on tablet | 0 | 7 | 09-08-2026 |
| 7 | Table element - element failed to render error | 0 | 25.21 | 14-10-2026 |
| 8 | Pagelayer v2.1.8 Launched | 0 | 8.44 | 17-08-2026 |
| 9 | Softaculous Top Apps missing in cPanel Jupiter when addonfeature metadata is created with 0600 permissions | 0 | 6.81 | 21-08-2026 |
| 10 | Rev Slider and Pro incompability | 0 | 10 | 13-10-2026 |