Custom Fonts disappear regularly in Elementor - wordpress

The custom fonts (Elementor (burger menu) > Site Settings > Global Fonts --> Custom Fonts) disappear once a week or even more often.
I found out that following file is missing, when the custom fonts are missing, f.e.: /wp-content/uploads/elementor/css/post-15544.css
I need to regenerate the CSS-Files in WP-Dashboard > Elementor > Tools --> Regenerate CSS & Data or do a WP-preview of a site where the styles are gone.
Here are some details to my WP-setup:
== Server Environment ==
Operating System: Linux
Software: Apache
MySQL version: mariadb.org binary distribution v10.5.18
PHP Version: 7.4.33
PHP Memory Limit: 512M
PHP Max Input Vars: 3000
PHP Max Post Size: 200M
GD Installed: Yes
ZIP Installed: Yes
Write Permissions: All right
Elementor Library: Connected
== WordPress Environment ==
Version: 6.1.1
Site URL: https://www.erbrechtsinfo.at
Home URL: https://www.erbrechtsinfo.at
WP Multisite: No
Max Upload Size: 200 MB
Memory limit: 40M
Max Memory limit: 512M
Permalink Structure: /%category%/%postname%/
Language: de-AT
Timezone: Europe/Vienna
Admin Email: ***
Debug Mode: Active
== Active Plugins ==
All In One WP Security
Version: 5.1.4
Author: All In One WP Security & Firewall Team
*** Portale
Version: 1.1.37
Author: ***
Easy WP SMTP
Version: 1.5.3
Author: Easy WP SMTP team
Elementor
Version: 3.9.2
Author: Elementor.com
Elementor Pro
Version: 3.9.2
Author: Elementor.com
Element Pack Pro
Version: 6.11.0
Author: BdThemes
GDPR Cookie Compliance
Version: 4.8.2
Author: Moove Agency
GDPR Cookie Compliance - Premium Add-On
Version: 2.0.5
Author: Moove Agency
Imagify
Version: 2.1
Author: Imagify – Optimize Images & Convert WebP
Koko Analytics
Version: 1.0.37
Author: ibericode
Link Whisper
Version: 2.1.5
Author: Link Whisper
Loco Translate
Version: 2.6.3
Author: Tim Whitlock
Meta Box
Version: 5.6.15
Author: MetaBox.io
Meta Box Group
Version: 1.3.15
Author: MetaBox.io
MyListing Addons
Version: 1.2.30
Author: 27collective
Rating Form
Version: 1.6.9
Author: Serdar Gürler
Schema & Structured Data for WP & AMP
Version: 1.9.108
Author: Magazine3
TablePress
Version: 2.0.1
Author: Tobias Bäthge
WordPress Backup & Security Plugin - BlogVault
Version: 4.86
Author: Backup by BlogVault
WP Rocket
Version: 3.12.4
Author: WP Media
Yoast SEO
Version: 19.13
Author: Team Yoast
== Elementor Experiments ==
Optimized DOM Output: Inactive
Improved Asset Loading: Inactive
Improved CSS Loading: Inactive
Inline Font Icons: Inactive
Accessibility Improvements: Inactive
Additional Custom Breakpoints: Inactive
Import Export Website Kit: Inactive
Hide native WordPress widgets from search results: Inactive
admin_menu_rearrangement: Inactive by default
Flexbox Container: Inactive
Default to New Theme Builder: Inactive
Landing Pages: Inactive
Color Sampler: Inactive
Favorite Widgets: Inactive
Admin Top Bar: Active by default
Lazy Load Background Images: Inactive by default
Save as Default: Inactive
Page Transitions: Inactive
Notes: Inactive
Loop: Inactive
Form Submissions: Active
Scroll Snap: Inactive
Does anyone know what causes this issue?

Related

Gatsby / WooCommerce not processing mediaItems

I'm having major problems trying to build a Gatsby / WooCommerce site - whenever wp-graphql-woocommerce is activated it simply will not process any media items, with this error:
--
gatsby-source-wordpress Error category: undefined
Error:
Internal server error
Debug message:
in_array(): Argument #2 ($haystack) must be of type array, string given
Error path: mediaItems
info gatsby-source-wordpress GraphQL vars: {"first":100,"url":"http://178.62.90.26/graphql","in":["13"],"after":null}
--
Steps to reproduce:
I have created a completely fresh install of Wordpress (v6+) on a php8+ environment (Digital Ocean Wordpress 1 click install image)
https://marketplace.digitalocean.com/apps/wordpress
I open the console and finish the wordpress installation process
Next I install wp-graphql (latest master version) and run composer install in the directory, then activate the plugin
Next I install WooCommerce, run through the installation process and create a dummy product
Then I install WP-Gatsby (v2.3.3) and activate.
Next I install the latest version of wp-graphql-woocommerce (v12 master), upload the plugin and activate
I then change the permalink structure and check that the /graphql route is working - everything is fine
At this point I have a single dummy product, a single Hello World post with a featured image attached, and I have only the following plugins installed on the site:
WooCommerce (v7.2.2)
WP Gatsby (v2.3.3)
WP GraphQL (v1.13.7)
WPGraphQL WooCommerce (WooGraphQL) (v0.12.0)
I then clone this simple blog repo:
https://github.com/gatsbyjs/gatsby-starter-wordpress-blog.git
I run yarn install for dependencies.
I change my gatsby-config to point toward my server and add an option in gatsby-source-wordpress to ignore ShippingMethod (or else it takes forever to build), and add some debugging in to help define the issue:
--
resolve: 'gatsby-source-wordpress',
options: {
url: process.env.WPGRAPHQL_URL || 'http://178.62.90.26/graphql',
type: {
ShippingMethod: {
exclude: true
},
},
debug: {
graphql: {
showQueryVarsOnError: true,
showQueryOnError: true,
onlyReportCriticalErrors: false,
},
},
},
--
I then add define( 'GRAPHQL_DEBUG', true ); to my wp-config.php and restart Apache just to be sure
I then run gatsby develop and get the error I mentioned earlier when it gets to MediaItems:
--
gatsby-source-wordpress Error category: undefined
Error:
Internal server error
Debug message:
in_array(): Argument #2 ($haystack) must be of type array, string given
Error path: mediaItems
info gatsby-source-wordpress GraphQL vars: {"first":100,"url":"http://178.62.90.26/graphql","in":["13"],"after":null}
--
And it creates 0 MediaItem nodes:
no MediaItems processed
And in my debug.log it’s just this over and over again:
--
[05-Jan-2023 10:21:40 UTC] PHP Deprecated: Function WPGraphQL\Connection\TermObjects::get_connection_args is <strong>deprecated</strong> since version 1.13.0! Use \WPGraphQL\Type\Connection\TermObjects::get_connection_args instead. in /var/www/html/wp-includes/functions.php on line 5379
[05-Jan-2023 10:21:40 UTC] PHP Deprecated: Function WPGraphQL\Connection\Comments::get_connection_config is <strong>deprecated</strong> since version 1.13.0! Use \WPGraphQL\Type\Connection\Comments::get_connection_config instead. in /var/www/html/wp-includes/functions.php on line 5379
--
If I deactivate wp-graphql-woocommerce the image is processed absolutely fine and creates the one mediaItem node that I have:
MediaItems processed with wp-graphql-woocommerce disabled
I need the woocommerce aspect of things though so this isn’t a solution. It just seems to happen whenever wp-graphql-woocommerce is activated.
Any help with this would be hugely, hugely appreciated as I’ve been banging my head against a brick wall for a while now and I'm really starting to worry that this isn't going to work
I have tried the following versions of wp-graphql / wp-graphql-woocommerce
wp-graphql - v1.12.2, v1.12.3, v1.13.0, v1.13.4, v1.13.7
wp-graphql-woocommerce - v12, v11.2, v10.7
Node Versions - v16.11.1, v18.12.1
I've tried with both Digital Ocean and AWS Lightsail servers - same outcome
And it just never seems to process the mediaItems. The strangest thing is that this did work in September, however lately it just flatly refuses to process the images whilst wp-graphql-woocommerce is activated

blogdown not inserting archetype when selected

I have a website setup using hugo and blogdown. I have an archetype setup called post.md, located at /themes/silhouette-hugo/archetypes/post.md, that looks like this:
---
title: "{{ replace .Name "-" " " | title }}"
date: {{ .Date }}
draft: true
categories:
- Software Development
tags:
- Untagged
featureImage: images/nelson_lakes_photo.jpg
---
""`<!--more-->`""
I went through the New Post addin in RStudio:
However the markdown file I got didn't include the archetype style
---
title: test
author: Conor Neilson
date: '2021-08-22'
slug: []
categories: []
tags: []
---
This used to work fine, it's only stopped working in the last few months.
Hugo version is 0.87.0, blogdown version 1.4.3.
Source code for my website is here
I just fixed this bug in blogdown. You may try the dev version:
remotes::install_github('rstudio/blogdown')
(Remember to restart R)

WooCommerce 302 redirect to homepage after checkout is finished

I have an unusual error I don't seem able to fix myself ... I have a WordPress website, with WooCommerce as shop-part of the site. Today I noticed, that after I make an order, (Select product > Add to cart > Proceed to Checkout ) after I fulfill the order-form, choose the payment and click "FINISH ORDER" ... I don't see the "Thank you for your order", with order details, but instead, I get automatically redirected to homepage via 302 redirection.
I tried to switch themes back to TwentySeventeen - not working.
I reverted .htaccess back to "original" WordPress one - not working.
I deleted quite a lot of the plugins website normaly uses - not working.
I removed whole CDN integration - not working.
For some unknown reason, "thank-you-page" redirects via 302 redirection back to homepage.
The order is processed and customers get e-mail notification properly, it's just that thank you page (where order details should be seen) isn't loaded.
I already checked this Stack question - but I don't have the "Force the HTTP after checkout" option within WooCommerce Dashboard.
You can see the "Network" part of Dev Tools here:
Image 1: https://prnt.sc/lnbqcs
Image 2: https://prnt.sc/lnbq5o
Image 3: https://prnt.sc/lnbqqj
This is the System report:
WC Version: 3.5.1
Log Directory Writable: ✔
WP Version: 4.9.8
WP Multisite: –
WP Memory Limit: 1 GB
WP Debug Mode: –
WP Cron: –
Language: sl_SI
External object cache: –
Server Environment
Server Info: Apache
PHP Version: 7.0.32
PHP Post Max Size: 64 MB
PHP Time Limit: 900
PHP Max Input Vars: 20000
cURL Version: 7.60.0
OpenSSL/1.0.2k
SUHOSIN Installed: –
MySQL Version: 10.0.37-MariaDB
Max Upload Size: 64 MB
Default Timezone is UTC: ✔
fsockopen/cURL: ✔
Please try to help me ... I'm stuck here for the past 3 hrs and didn't figure it out (today) ... Much appreciated!
Thank you,
T.

Avada Wordpress wp_remote_get()

Hello All I am at a loss of what to do on our word press site it is saying
wp_remote_get() failed. Some theme features may not work. Please
contact your hosting provider and make sure that
https://build.envato.com/api/ is not blocked.
So I have contacted Avada and they said to make sure it is not blocked I have checked with our system admin twice and it is not blocked and he added to our exceptions list to make sure it can go through. I am still getting the error New to word press and Avada and not sure what I need to do next.
System Status from Wordpress and Avada
Avada Versions:
Avada Versions
Current Version: 5.4.2
Previous Version: 5.4.0 5.4.1 5.4.2
WordPress Environment
Home URL: http://landoll.com
Site URL: http://landoll.com
WP Content Path: /var/www/html/wp-content
WP Path: /var/www/html/
WP Version: 4.9.5
WP Multisite: –
PHP Memory Limit: 256 MB
WP Debug Mode: –
Language: en_US
Server Environment
Server Info: Apache/2.4.18 (Ubuntu)
PHP Version: 7.0.28-0ubuntu0.16.04.1. WordPress recommendation: 7.2 or above.
See WordPress Requirements for details.
PHP Post Max Size: 35 MB
PHP Time Limit: 0
PHP Max Input Vars: 3000 - Recommended Value: 4940.Max input vars limitation
will truncate POST data such as menus. See: Increasing max input vars limit.
SUHOSIN Installed: –
ZipArchive: ✔
MySQL Version: 5.7.22
Max Upload Size: 35 MB
DOMDocument: ✔
WP Remote Get: wp_remote_get() failed. Some theme features may not work. Please contact your hosting provider and make sure that https://build.envato.com/api/ is not blocked.
WP Remote Post: ✔
GD Library: 2.1.1
Active Plugins (25)
Advanced iFrame: by Michael Dempfle
ARVE Advanced Responsive Video Embedder: by Nicolas Jonas
All-in-One WP Migration: by ServMask
Enable Media Replace: by ShortPixel
Enhanced Media Library PRO: by wpUXsolutions
File Manager Advanced Shortcode: by modalweb
File Manager Advanced: by modalweb
Formidable Forms Pro: by Strategy11
Formidable Forms: by Strategy11
Fusion Builder: by ThemeFusion
Fusion Core: by ThemeFusion
Gallery: by Total-Soft
Head and Footer Scripts Inserter: by Space X-Chimp
Post Types Order: by Nsp Code
Slider Revolution: by ThemePunch
Search Exclude: by Roman Pronskiy
SMTP Mailer: by naa986
Team Showcase: by Carlos Moreira
UpdraftPlus - Backup/Restore: by UpdraftPlus.Com
DavidAnderson
Yoast SEO: by Team Yoast
WP Rocket: by WP Media
WP Smush: by WPMU DEV
WP Store Locator - CSV Manager: by Tijmen Smit
WP Store Locator: by Tijmen Smit
wpDataTables: by TMS-Plugins
I just had this issue with Avada Theme.
Installing php-curl extension, fix the job. Basically, I think
behind the scene it uses curl to communicate with other endpoints.
But they should be given a warning like Curl is not installed, something like they are done for GD, ZipArchive etc.

Wordpress: push new plugin version

I have a silly issue updating a Wordpress plugin I made : https://wordpress.org/plugins/import-youtube-videos-as-wp-post/
I'm tired and I can't figure out why the plugin repo is still saying: Download version 1.4, when I updated it to 1.5.
I changed the stable tag in the readme.txt in the trunk and the 1.5 tag folder: https://plugins.svn.wordpress.org/import-youtube-videos-as-wp-post/trunk/readme.txt
=== Plugin Name ===
Contributors: enguerranws
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=BQNTS4S2PEQVN
Tags: youtube, content, videos, enguerranws, google api, youtube api, youtube importer, video importer
Requires at least: 3.0.1
Tested up to: 4.7.3
Stable tag: 1.5
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
What do I miss there?
Your main file version is 1.4
/*
Plugin Name: Import YouTube videos as WP Posts
Plugin URI: http://www.enguerranweiss.fr
Description: Get a video list from a request to Youtube (free query, playlist ID, channel ID) and add their content to your own Wordpress :)
Version: 1.4
Author: Enguerran Weiss
Author URI: http://www.enguerranweiss.fr
*/
Try to change the version and Upload.

Resources