fredcy
Forum Replies Created
-
diff -r 41f4483514f9 -r a6190364678e wp-content/plugins/gallery-custom-links/vendor/kub-at/php-simple-html-dom-parser/src/KubAT/PhpSimple/lib/simple_html_dom.php
--- a/wp-content/plugins/gallery-custom-links/vendor/kub-at/php-simple-html-dom-parser/src/KubAT/PhpSimple/lib/simple_html_dom.php Thu Aug 29 14:13:38 2024 -0500
+++ b/wp-content/plugins/gallery-custom-links/vendor/kub-at/php-simple-html-dom-parser/src/KubAT/PhpSimple/lib/simple_html_dom.php Thu Aug 29 14:45:08 2024 -0500
@@ -23,29 +23,29 @@
* Version Rev. 1.9.1 (291)
*/
-define('HDOM_TYPE_ELEMENT', 1);
-define('HDOM_TYPE_COMMENT', 2);
-define('HDOM_TYPE_TEXT', 3);
-define('HDOM_TYPE_ENDTAG', 4);
-define('HDOM_TYPE_ROOT', 5);
-define('HDOM_TYPE_UNKNOWN', 6);
-define('HDOM_QUOTE_DOUBLE', 0);
-define('HDOM_QUOTE_SINGLE', 1);
-define('HDOM_QUOTE_NO', 3);
-define('HDOM_INFO_BEGIN', 0);
-define('HDOM_INFO_END', 1);
-define('HDOM_INFO_QUOTE', 2);
-define('HDOM_INFO_SPACE', 3);
-define('HDOM_INFO_TEXT', 4);
-define('HDOM_INFO_INNER', 5);
-define('HDOM_INFO_OUTER', 6);
-define('HDOM_INFO_ENDSPACE', 7);
+defined('HDOM_TYPE_ELEMENT') || define('HDOM_TYPE_ELEMENT', 1);
+defined('HDOM_TYPE_COMMENT') || define('HDOM_TYPE_COMMENT', 2);
+defined('HDOM_TYPE_TEXT') || define('HDOM_TYPE_TEXT', 3);
+defined('HDOM_TYPE_ENDTAG') || define('HDOM_TYPE_ENDTAG', 4);
+defined('HDOM_TYPE_ROOT') || define('HDOM_TYPE_ROOT', 5);
+defined('HDOM_TYPE_UNKNOWN') || define('HDOM_TYPE_UNKNOWN', 6);
+defined('HDOM_QUOTE_DOUBLE') || define('HDOM_QUOTE_DOUBLE', 0);
+defined('HDOM_QUOTE_SINGLE') || define('HDOM_QUOTE_SINGLE', 1);
+defined('HDOM_QUOTE_NO') || define('HDOM_QUOTE_NO', 3);
+defined('HDOM_INFO_BEGIN') || define('HDOM_INFO_BEGIN', 0);
+defined('HDOM_INFO_END') || define('HDOM_INFO_END', 1);
+defined('HDOM_INFO_QUOTE') || define('HDOM_INFO_QUOTE', 2);
+defined('HDOM_INFO_SPACE') || define('HDOM_INFO_SPACE', 3);
+defined('HDOM_INFO_TEXT') || define('HDOM_INFO_TEXT', 4);
+defined('HDOM_INFO_INNER') || define('HDOM_INFO_INNER', 5);
+defined('HDOM_INFO_OUTER') || define('HDOM_INFO_OUTER', 6);
+defined('HDOM_INFO_ENDSPACE') || define('HDOM_INFO_ENDSPACE', 7);
defined('DEFAULT_TARGET_CHARSET') || define('DEFAULT_TARGET_CHARSET', 'UTF-8');
defined('DEFAULT_BR_TEXT') || define('DEFAULT_BR_TEXT', "\r\n");
defined('DEFAULT_SPAN_TEXT') || define('DEFAULT_SPAN_TEXT', ' ');
defined('MAX_FILE_SIZE') || define('MAX_FILE_SIZE', 600000);
-define('HDOM_SMARTY_AS_TEXT', 1);
+defined('HDOM_SMARTY_AS_TEXT') || define('HDOM_SMARTY_AS_TEXT', 1);
function file_get_html(
$url,This is still happening in version 2.2.0 of the plugin, causing many spurious output lines in the Apache error log.
A workable solution, as used by other plugins, is to conditionally define the constants like this:
defined('HDOM_TYPE_ELEMENT') || define('HDOM_TYPE_ELEMENT', 1);
When I use the
wp
command line tool to list cron schedules (wp cron schedule list
) the “once_in_week” schedule does not appear in the output. This is further evidence that this plugin is not creating that cron schedule correctly.I’m seeing errors of the same shape reported here. I note that the
wp_tec_occurrences
table is not mentioned in the FROM and JOIN clauses of the query, so it’s no wonder that the query is invalid.Forum: Plugins
In reply to: [W3 Total Cache] use apache config file rather than .htaccessThanks!
Visualizer hooks into the wordpress framework, so of course part of the stack is going to involve standard wordpress functions; and so that does not absolve Visualizer as being the culprit here. The bottom line is that that whether the errors appear or not correlates exactly with Visualizer being being enabled or not.
The top (most recently called) of the call stack at the point of the error looks like this:
- wp/wp-admin/includes/class-wp-filesystem-ftpext.php ‘451
- wp/wp-admin/includes/class-wp-filesystem-ftpext.php ‘423
- wp/wp-admin/includes/class-wp-filesystem-base.php ‘229
- wp/wp-admin/includes/class-wp-filesystem-base.php ’76
- wp-content/plugins/visualizer/classes/Visualizer/Module.php ‘524