Forum Replies Created

Viewing 15 replies - 1 through 15 (of 33 total)
  • Thread Starter hsteigstra

    (@hsteigstra)

    This solved the problem! Thank you !!

    • This reply was modified 2 weeks, 3 days ago by hsteigstra.
    Thread Starter hsteigstra

    (@hsteigstra)


    ` wp-core

    version: 6.6.2
    site_language: nl_NL
    user_language: nl_NL
    timezone: Europe/Amsterdam
    permalink: /blog/%year%/%monthnum%/%day%/%postname%/
    https_status: true
    multisite: true
    user_registration: false
    blog_public: 1
    default_comment_status: closed
    environment_type: production
    site_id: 1
    site_count: 4
    network_count: 1
    user_count: 14
    dotorg_communication: true wp-dropins (1)

    maintenance.php: true wp-active-theme

    name: Spacious (spacious)
    version: 1.9.7
    author: ThemeGrill
    author_website: https://themegrill.com
    parent_theme: none
    theme_features: core-block-patterns, widgets-block-editor, automatic-feed-links, post-thumbnails, title-tag, custom-logo, menus, custom-background, html5, customize-selective-refresh-widgets, align-wide, wp-block-styles, responsive-embeds, starter-content, custom-header, woocommerce, wc-product-gallery-zoom, wc-product-gallery-lightbox, wc-product-gallery-slider, widgets
    theme_path: /var/www/vhosts/steig.nl/httpdocs/wp-content/themes/spacious
    auto_update: Uitgeschakeld wp-themes-inactive (8)

    Heemkunde: version: 0.1, author: Herman Steigstra, Auto-updates uitgeschakeld
    Twenty Nineteen: version: 2.9, author: the WordPress team, Auto-updates uitgeschakeld
    Twenty Seventeen: version: 3.7, author: the WordPress team, Auto-updates uitgeschakeld
    Twenty Twenty: version: 2.7, author: the WordPress team, Auto-updates uitgeschakeld
    Twenty Twenty-Four: version: 1.2, author: the WordPress team, Auto-updates uitgeschakeld
    Twenty Twenty-One: version: 2.3, author: the WordPress team, Auto-updates uitgeschakeld
    Twenty Twenty-Three: version: 1.5, author: the WordPress team, Auto-updates uitgeschakeld
    Twenty Twenty-Two: version: 1.8, author: the WordPress team, Auto-updates uitgeschakeld wp-mu-plugins (1)

    Plugin Organizer MU: version: 10.1.10, author: Jeff Sterup wp-plugins-active (26)

    Advanced Editor Tools: version: 5.9.2, author: Automattic, Auto-updates uitgeschakeld
    Better Search: version: 3.3.1, author: WebberZone, Auto-updates uitgeschakeld
    Better Search Replace: version: 1.4.7, author: WP Engine, Auto-updates uitgeschakeld
    Blog Designer PRO: version: 3.4.5, author: Solwin Infotech, Auto-updates uitgeschakeld
    Bop Search Box Item Type For Nav Menus: version: 1.6.0, author: The Bop, Auto-updates uitgeschakeld
    Classic Editor: version: 1.6.5, author: WordPress Contributors, Auto-updates uitgeschakeld
    Contact Form 7: version: 6.0, author: Takayuki Miyoshi, Auto-updates uitgeschakeld
    Contact Form 7 - Dynamic Text Extension: version: 4.5.1, author: AuRise Creative, SevenSpark, Auto-updates uitgeschakeld
    Custom Login Page Customizer: version: 2.4.0, author: Hardeep Asrani, Auto-updates uitgeschakeld
    Duplicator: version: 1.5.11.1, author: Duplicator, Auto-updates uitgeschakeld
    Enhanced Media Library: version: 2.9.4, author: wpUXsolutions, Auto-updates uitgeschakeld
    Flamingo: version: 2.5, author: Takayuki Miyoshi, Auto-updates uitgeschakeld
    Image Watermark: version: 1.7.4, author: dFactory, Auto-updates uitgeschakeld
    Imsanity: version: 2.8.4, author: Exactly WWW, Auto-updates uitgeschakeld
    Maintenance Mode: version: 2.4.4, author: Lukas Juhas, Auto-updates uitgeschakeld
    Menu Icons: version: 0.13.15, author: ThemeIsle, Auto-updates uitgeschakeld
    No Future Posts: version: 1.4, author: Tom Braider, Auto-updates uitgeschakeld
    Per page head: version: 1.4.4, author: Erik von Asmuth, Auto-updates uitgeschakeld
    Phoenix Media Rename: version: 3.12.2, author: crossi72, Auto-updates uitgeschakeld
    Post SMTP: version: 2.9.9, author: Post SMTP, Auto-updates uitgeschakeld
    PublishPress Future: version: 4.0.4, author: PublishPress, Auto-updates uitgeschakeld
    Restrict Author Posting: version: 2.1.5, author: Jam Vi?t, Auto-updates uitgeschakeld
    Search Exclude: version: 2.1.7, author: QuadLayers, Auto-updates uitgeschakeld
    Simple Custom CSS: version: 4.0.6, author: John Regan, Auto-updates uitgeschakeld
    Simple Full Screen Background Image: version: 1.2.10, author: AMP-MODE, Auto-updates uitgeschakeld
    Smush: version: 3.16.6, author: WPMU DEV, Auto-updates uitgeschakeld wp-plugins-inactive (27)

    Breadcrumb NavXT: version: 7.3.1, author: John Havlik, Auto-updates uitgeschakeld
    Column Shortcodes: version: 1.0.1, author: Codepress, Auto-updates uitgeschakeld
    Complianz | GDPR/CCPA Cookie Consent: version: 7.1.4, author: Really Simple Plugins, Auto-updates uitgeschakeld
    Easy Google Fonts: version: 2.0.4, author: Titanium Themes, Auto-updates uitgeschakeld
    Grunion Contact Form: version: 2.3, author: Automattic, Inc., Auto-updates uitgeschakeld
    Hello Dolly: version: 1.7.2, author: Matt Mullenweg, Auto-updates uitgeschakeld
    ManageWP - Worker: version: 4.9.20, author: GoDaddy, Auto-updates uitgeschakeld
    Plugin Organizer: version: 10.1.10, author: Jeff Sterup, Auto-updates uitgeschakeld
    Redirection: version: 5.5.0, author: John Godley, Auto-updates uitgeschakeld
    Responsive Cookie Consent: version: 2.1, author: James Koussertari, Auto-updates uitgeschakeld
    TablePress: version: 2.4.4, author: Tobias B?thge, Auto-updates uitgeschakeld
    Ultimate Category Excluder: version: 1.7, author: Marios Alexandrou, Auto-updates uitgeschakeld
    UpdraftPlus - Backup/Restore: version: 1.24.7, author: TeamUpdraft, DavidAnderson, Auto-updates uitgeschakeld
    W4 Post List: version: 2.5.0, author: Shazzad Hossain Khan, Auto-updates uitgeschakeld
    Woody code snippets (PHP snippets | Insert PHP): version: 2.5.1, author: Creative Motion, Will Bontrager Software, LLC [email protected], Auto-updates uitgeschakeld
    Wordfence Security: version: 8.0.0, author: Wordfence, Auto-updates uitgeschakeld
    WordPress Importer: version: 0.8.3, author: wordpressdotorg, Auto-updates uitgeschakeld
    WP-Optimize - Clean, Compress, Cache: version: 3.7.0, author: TeamUpdraft, DavidAnderson, Auto-updates uitgeschakeld
    WP Crontrol: version: 1.17.0, author: John Blackbourn, Auto-updates uitgeschakeld
    WP deferred javaScript: version: 2.0.5, author: Willy Bahuaud, Daniel Roch, Grégory Viguier, Auto-updates uitgeschakeld
    WP Fastest Cache: version: 1.3.2, author: Emre Vona, Auto-updates uitgeschakeld
    WP Featherlight: version: 1.3.4, author: Cipher, Auto-updates uitgeschakeld
    WPFront User Role Editor: version: 4.2.1, author: WPFront Team, Auto-updates uitgeschakeld
    WP Image Zoom: version: 1.57, author: SilkyPress, Auto-updates uitgeschakeld
    WP Private Content Plus: version: 3.6.1, author: Rakhitha Nimesh, Auto-updates uitgeschakeld
    WP Statistics: version: 14.11.1, author: VeronaLabs (latest version: 14.11.2), Auto-updates uitgeschakeld
    Yoast SEO: version: 23.8, author: Team Yoast, Auto-updates uitgeschakeld wp-media

    image_editor: WP_Image_Editor_Imagick
    imagick_module_version: 1693
    imagemagick_version: ImageMagick 6.9.13-10 Q16 x86_64 18376 https://legacy.imagemagick.org
    imagick_version: 3.7.0
    file_uploads: 1
    post_max_size: 256M
    upload_max_filesize: 256M
    max_effective_size: 256 MB
    max_file_uploads: 20
    imagick_limits:
    imagick::RESOURCETYPE_AREA: 187 GB
    imagick::RESOURCETYPE_DISK: 9.2233720368548E+18
    imagick::RESOURCETYPE_FILE: 6144
    imagick::RESOURCETYPE_MAP: 94 GB
    imagick::RESOURCETYPE_MEMORY: 47 GB
    imagick::RESOURCETYPE_THREAD: 1
    imagick::RESOURCETYPE_TIME: 0
    imagemagick_file_formats: 3FR, 3G2, 3GP, A, AAI, AI, APNG, ART, ARW, AVI, AVS, B, BGR, BGRA, BGRO, BIE, BMP, BMP2, BMP3, BRF, C, CAL, CALS, CANVAS, CAPTION, CIN, CIP, CLIP, CMYK, CMYKA, CR2, CR3, CRW, CUR, CUT, DATA, DCM, DCR, DCX, DDS, DFONT, DNG, DPX, DXT1, DXT5, EPDF, EPI, EPS, EPS2, EPS3, EPSF, EPSI, EPT, EPT2, EPT3, ERF, EXR, FAX, FILE, FITS, FLV, FRACTAL, FTP, FTS, G, G3, G4, GIF, GIF87, GRADIENT, GRAY, GRAYA, GROUP4, H, HALD, HDR, HISTOGRAM, HRZ, HTM, HTML, HTTP, HTTPS, ICB, ICO, ICON, IIQ, INFO, INLINE, IPL, ISOBRL, ISOBRL6, J2C, J2K, JBG, JBIG, JNG, JNX, JP2, JPC, JPE, JPEG, JPG, JPM, JPS, JPT, JSON, K, K25, KDC, LABEL, M, M2V, M4V, MAC, MAGICK, MAP, MASK, MAT, MATTE, MEF, MIFF, MKV, MNG, MONO, MOV, MP4, MPC, MPEG, MPG, MRW, MSL, MSVG, MTV, MVG, NEF, NRW, NULL, O, ORF, OTB, OTF, PAL, PALM, PAM, PANGO, PATTERN, PBM, PCD, PCDS, PCL, PCT, PCX, PDB, PDF, PDFA, PEF, PES, PFA, PFB, PFM, PGM, PGX, PICON, PICT, PIX, PJPEG, PLASMA, PNG, PNG00, PNG24, PNG32, PNG48, PNG64, PNG8, PNM, POCKETMOD, PPM, PS, PS2, PS3, PSB, PSD, PTIF, PWP, R, RADIAL-GRADIENT, RAF, RAS, RAW, RGB, RGBA, RGBO, RGF, RLA, RLE, RMF, RW2, SCR, SCREENSHOT, SCT, SFW, SGI, SHTML, SIX, SIXEL, SPARSE-COLOR, SR2, SRF, STEGANO, SUN, SVG, SVGZ, TEXT, TGA, THUMBNAIL, TIFF, TIFF64, TILE, TIM, TTC, TTF, TXT, UBRL, UBRL6, UIL, UYVY, VDA, VICAR, VID, VIDEO, VIFF, VIPS, VST, WBMP, WEBM, WEBP, WMF, WMV, WMZ, WPG, X, X3F, XBM, XC, XCF, XPM, XPS, XV, XWD, Y, YCbCr, YCbCrA, YUV
    gd_version: bundled (2.1.0 compatible)
    gd_formats: GIF, JPEG, PNG, WebP, BMP, XPM
    ghostscript_version: not available wp-server

    server_architecture: Linux 4.18.0-553.5.1.el8_10.x86_64 x86_64
    httpd_software: Apache
    php_version: 8.1.29 64bit
    php_sapi: fpm-fcgi
    max_input_variables: 5000
    time_limit: 180
    memory_limit: 256M
    max_input_time: 120
    upload_max_filesize: 256M
    php_post_max_size: 256M
    curl_version: 7.61.1 OpenSSL/1.1.1k
    suhosin: false
    imagick_availability: true
    pretty_permalinks: true
    htaccess_extra_rules: false
    current: 2024-11-05T20:10:00+00:00
    utc-time: Tuesday, 05-Nov-24 20:10:00 UTC
    server-time: 2024-11-05T21:09:57+01:00 wp-database

    extension: mysqli
    server_version: 10.11.9-MariaDB
    client_version: mysqlnd 8.1.29
    max_allowed_packet: 16777216
    max_connections: 151 wp-constants

    WP_HOME: undefined
    WP_SITEURL: undefined
    WP_CONTENT_DIR: /var/www/vhosts/steig.nl/httpdocs/wp-content
    WP_PLUGIN_DIR: /var/www/vhosts/steig.nl/httpdocs/wp-content/plugins
    WP_MEMORY_LIMIT: 200M
    WP_MAX_MEMORY_LIMIT: 256M
    WP_DEBUG: false
    WP_DEBUG_DISPLAY: true
    WP_DEBUG_LOG: false
    SCRIPT_DEBUG: false
    WP_CACHE: false
    CONCATENATE_SCRIPTS: undefined
    COMPRESS_SCRIPTS: undefined
    COMPRESS_CSS: undefined
    WP_ENVIRONMENT_TYPE: Ongedefinieerd
    WP_DEVELOPMENT_MODE: undefined
    DB_CHARSET: utf8mb4
    DB_COLLATE: undefined wp-filesystem

    wordpress: writable
    wp-content: writable
    uploads: writable
    plugins: writable
    themes: writable
    fonts: not writable
    mu-plugins: writable

    I notice (in Dutch) : Authorisation Header Missing. Don’t know if that makes sense.

    Hey, it works now! After reconfiguring the SSL by the provider, the WP Statistics was apparantly deactivated. After reactivating, it works now!

    • This reply was modified 2 weeks, 6 days ago by hsteigstra.
    Thread Starter hsteigstra

    (@hsteigstra)

    OK, the manually loaded script is removed and the redirection should be OK now. https should be OK now

    Thread Starter hsteigstra

    (@hsteigstra)

    ps. At this moment there is a redirection problem with the website (12:57 CET)

    Thread Starter hsteigstra

    (@hsteigstra)

    Hi Matthew,
    Thank you for your response. It does not help me much further. The Tracking method is set to client. I tried to force loading the tracker in the HEAD section, but I then get the error:


    Uncaught ReferenceError: WP_Statistics_Tracker_Object is not defined
    <anonymous> https://steig.nl/wp-content/plugins/wp-statistics/assets/js/tracker.js:1

    But is IS there!

    Next I also get the error:
    Uncaught SyntaxError: redeclaration of let WP_Statistics_CheckTime

    I disabled as many plugins as possible. Did a search for “tracker.js”, only in your plugin.

    In “Network >> XHR” is nothing displayed

    What to do next?

    Maybe my solution I posted will solve your problem ….

    Forum: Plugins
    In reply to: [Yoast SEO] 500 error

    Hi all,
    I solved my problem and you can solve yours too using my findings. This is what I replied in my last message:
    ================
    Solved my problem! I installed the plugin “Plugin Organizer” and moved my plugin downwards, just after Yoast SEO. Now it does recognize the class!

    I think with this info you can add a php module and add it into the mu-plugins folder to define the classes before anything else is loaded!
    ================
    I moved my plugin downwards, alternatively you can of coarse also move Yoast SEO upwards. It is a solution that is not the preferred solution, but for now it works! Good luck!

    Thread Starter hsteigstra

    (@hsteigstra)

    Solved my problem! I installed the plugin “Plugin Organizer” and moved my plugin downwards, just after Yoast SEO. Now it does recognize the class!

    I think with this info you can add a php module and add it into the mu-plugins folder to define the classes before anything else is loaded!

    Thread Starter hsteigstra

    (@hsteigstra)

    New version did not solve this problem!

    Thread Starter hsteigstra

    (@hsteigstra)

    Hi, may be I have a clue for this…. On my test site I did not have the “Class not found” problem, but in my production site I did have the problem. I have compared the two sites for differences that may explain this:
    * Provider specific… No, same provider.
    * PHP specific: No, both 7.3
    * Version differences: No, all up-to-date
    I have been looking for reasons that could result in not knowing the Class at the time my own code loads. And I found one! The loading order of plugins (my code resides in a plugin) is
    * plugins in the mu-plugin folder. (I don’t have any)
    * Network defined plugins
    * Alphabetically loaded
    And now I see the difference: my test site is <b>multi-site!</b> There the Yoast will load before my code. My production is NOT multi-site, so the load is in alphabetical order. Yoast will be one of the last to load!
    Not sure if this makes sense, hard to test in my real-life site, but maybe this helps finding a solution!

    Thread Starter hsteigstra

    (@hsteigstra)

    Hi Jeroen,
    MyYoast is not a plugin but my latest implementation of Abstract_Indexable_Presenter as introduced in 14.0.
    This is the (relevant part of the) code:
    <?PHP
    use Yoast\WP\SEO\Presenters\Abstract_Indexable_Presenter;

    require_once ABSPATH . “wp-content/plugins/wordpress-seo/src/presenters/abstract-presenter.php”;
    require_once ABSPATH . “wp-content/plugins/wordpress-seo/src/presenters/abstract-indexable-presenter.php”;

    class My_Custom_Presenter extends Abstract_Indexable_Presenter {
    public function present() {
    // do the stuff here….
    $meta=”<meta property=’og:image’ content='” . esc_attr($fileName) .
    “‘/><meta property=’og:image:width’ content=’$w’/>”.
    “<meta property=’og:image:height’ content=’$h’/>”;

    return $meta;
    }
    /**
    * Returns the value of our new tag.
    *
    * @return string The value of our meta tag.
    */
    public function get() {
    return ( $this->presentation->open_graph_locale === ‘nl_NL’ ) ? ‘Dutch’ : ‘Not dutch’;
    }
    }

    All copied from your example implementation. Without the two lines on top “require_once….” I get the exception, apparently the path to the two php files is not found! In my development site this is not necessary, in my production it is!
    May be a clue: in my development site I did not get a runtime error on this syntax in another module:

    ….. x=y
    break;
    The semi-colon after the y is forgotten. In my production I did get an error message. Maybe something similar is the case with your software. Language difference? php differences?

    Forum: Plugins
    In reply to: [Yoast SEO] 500 error

    In theory you have to add them (and probably more!) in the file …/indexation-integration.php, but you probably end in a mess… Better is to wait for a fix from Yoast, I assume that with this information a cause can be found soon!

    I could help myself with this workaround, because the fix was very limited and within the scope of my own code.

    Forum: Plugins
    In reply to: [Yoast SEO] 500 error

    I had something similar, using my own code. It appears that the required modules cannot be found and you have to add the path to each module that refers to them manually. In my case it was:

    require_once ABSPATH . “wp-content/plugins/wordpress-seo/src/presenters/abstract-presenter.php”;
    require_once ABSPATH . “wp-content/plugins/wordpress-seo/src/presenters/abstract-indexable-presenter.php”;

    Look into you error log to see what module is missing the path and add the path to the referred modules. Hopefully Suwash comes with a better solution soon!!

    I had something similar, using my own code. It appears that the required modules cannot be found and you have to add the path to each module that refers to them manually. In my case it was:

    require_once ABSPATH . “wp-content/plugins/wordpress-seo/src/presenters/abstract-presenter.php”;
    require_once ABSPATH . “wp-content/plugins/wordpress-seo/src/presenters/abstract-indexable-presenter.php”;

    Look into you error log to see what module is missing the path and add the path to the referred modules. Hopefully Suwash comes with a better solution soon!!

    Thread Starter hsteigstra

    (@hsteigstra)

    Found a work-around: added these requires to add the paths to the source:

    require_once ABSPATH . “wp-content/plugins/wordpress-seo/src/presenters/abstract-presenter.php”;
    require_once ABSPATH . “wp-content/plugins/wordpress-seo/src/presenters/abstract-indexable-presenter.php”;

    Apparently the namespace is not recognised:
    namespace Yoast\WP\SEO\Presenters;
    Makes that sense ?

Viewing 15 replies - 1 through 15 (of 33 total)