MEMT-NETWORK
Forum Replies Created
-
okay i try that, i think the plugin is not installed good. I even tweaked my server heavy db and memory and ssd speed. The clone of the site works, but the production site no, so i think its a bad install
i think something is broken in the plugin install, just tried it on a clone website and there a fresh install worked.
how do i remove the plugin and what fields do i need to search in mysql to delete leftover settings so i can install the plugin fresh.
waiting for support i thank you in advance
Forum: Plugins
In reply to: [Confetti] Cookie for 1 time effectthat would be nice, can’t wait for this update 🙂 thank you for your time and this plugin
Forum: Plugins
In reply to: [Requirements Checklist] Does it work for woocommerce categories?most things seems to be working. Except the product details like attributes are not optional required.
maybe give it a small update? This plugin is legendary. I used it for my blog always!
Forum: Plugins
In reply to: [LiteSpeed Cache] Plugin causes 500 errorI have directadmin, if you can guide me can check this for you. Thank you for the response!
Forum: Plugins
In reply to: [Easy Watermark] Watermark Generation Errors – 500 Server ErrorsWhat PHP version do you use?
- This reply was modified 7 months, 3 weeks ago by MEMT-NETWORK.
Forum: Plugins
In reply to: [Easy Watermark] Fatal Errorwith chatgtp it claims that the “hooks” are loaded to quick. He gave me this to change in /plugins/easy-watermark/src/classes/Core/hooks.php
<?php
/**
* Hooks loader class
*
* @package easy-watermark
*/
namespace EasyWatermark\Core;
use Micropackage\Singleton\Singleton;
/**
* Handles registration of hooks for Easy Watermark.
*/
class Hooks extends Singleton {
/**
* Hooked objects
*
* @var array
*/
private $objects = [];
/**
* Adds an object to the hook registry.
*
* @param object $object Object instance.
* @return void
*/
public function add_object( $object ) {
$class_name = get_class( $object );
if ( ! isset( $this->objects[ $class_name ] ) ) {
$this->objects[ $class_name ] = [
'instance' => $object,
'hooks' => [],
];
}
}
/**
* Adds a hook definition to an object.
*
* @param object $object Object instance.
* @param array $data Hook data.
* @return void
*/
public function add_hook( $object, $data ) {
$class_name = get_class( $object );
if ( ! isset( $this->objects[ $class_name ] ) ) {
$this->add_object( $object );
}
$this->objects[ $class_name ]['hooks'][] = $data;
}
/**
* Returns all hooked objects.
*
* @return array
*/
public function get_hooked_objects() {
return $this->objects;
}
/**
* Loads and registers hooks after plugins are fully loaded.
*
* @return void
*/
public function load_hooks() {
$hooks_file = EW_DIR_PATH . '/src/inc/hooks.php';
// Only load hooks after all plugins and their objects are initialized.
add_action( 'plugins_loaded', function () use ( $hooks_file ) {
if ( file_exists( $hooks_file ) ) {
include_once $hooks_file;
} else {
error_log( sprintf(
'[Easy Watermark] Hooks file not found: %s',
$hooks_file
) );
}
}, 20 ); // priority 20 ensures it runs after most plugin setup routines
}
}Forum: Plugins
In reply to: [Easy Watermark] Fatal Errorps i’m using the latetest WP and php 8.3
Forum: Plugins
In reply to: [GravityExport Lite for Gravity Forms] Import with notesow okay, that would be great. Thank you for bringing a very usefull feature to this plugin.
Forum: Plugins
In reply to: [Pronamic Pay] Change Fee in an active signup GravityFromAny one know how? Also for future if you are in need to increase subscription, an uption todo this will be great.
Forum: Plugins
In reply to: [Pronamic Pay] Change Fee in an active signup GravityFromHi Reuel, thank you for the input.
One more question, some users already subscribed, but they know they have to pay 2 dollar, but is now active under 1 dollar. Can i change this as admin or in the database / mysql? If yes where do i need to change it.
Seems its possible in mollie. https://docs.mollie.com/reference/update-subscription
I hope you can assist me with this, so i don’t lose trust with these new clients by sending them an email they have resubscribe.
- This reply was modified 1 year, 3 months ago by MEMT-NETWORK.
- This reply was modified 1 year, 3 months ago by MEMT-NETWORK.
Forum: Plugins
In reply to: [Pronamic Pay] Auto remove old log files how?Okay, thank you for your imput. let me check out. Is it for some reason important to have it at 31 days?
As the database grows to GB’s if we let it like this.
Forum: Fixing WordPress
In reply to: Empty Term. With creating category or TagNormally it’s clean. Its a fresh dedicated server, wp is fresh, and all plugins are freshly uploaded. The only thing that was old, was the backup database that i imported again. However i had a breach, thats why i reinstalled the server, and all.. not sure if i had this problem during the hack. Before it worked great still. As i had made a new category for a specific event sep / oct 2024
Forum: Fixing WordPress
In reply to: Empty Term. With creating category or TagI think i solved the issue: for some reason wp_terms didn’t have AUTO_INCREMENT anymore… I was able to fix this with the following steps. This steps worked for me:
Step 1: Delete Records with term_id = 0 Execute the following query to delete the records with term_id = 0:
in PHPmyADMIN go to your database and run following SQL’s. Don’t forget to make a full db backup before you start!
DELETE FROM wp_terms WHERE term_id = 0;Step 2: Add the PRIMARY KEY After removing the records with term_id = 0, you can add the PRIMARY KEY:
ALTER TABLE wp_terms ADD PRIMARY KEY (term_id);Step 3: Add AUTO_INCREMENT Now you can set the AUTO_INCREMENT property again for the term_id column:
ALTER TABLE wp_terms MODIFY term_id bigint(20) unsigned NOT NULL AUTO_INCREMENT;Step 4: Check the Changes Check if the changes are correct by running the following query:
SHOW CREATE TABLE wp_terms;The output should now be as follows:
CREATE TABLEwp_terms(term_idbigint(20) unsigned NOT NULL **AUTO_INCREMENT**,namevarchar(200) NOT NULL DEFAULT '',slugvarchar(200) NOT NULL DEFAULT '',term_groupbigint(10) NOT NULL DEFAULT 0, PRIMARY KEY (term_id), UNIQUE KEYslug(slug), KEYname(name) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;Step 5: Test Insert New Term Now try inserting a new term again:
INSERT INTO wp_terms (name, slug) VALUES ('Test Category', 'test-category');If this works successfully, the problem is solved.
Forum: Plugins
In reply to: [Pronamic Pay] Auto remove old log files how?
above is the action_action db