Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHP Fatal Error in Version 6.1 #375

Open
ChristinaZak opened this issue Sep 9, 2024 · 9 comments
Open

PHP Fatal Error in Version 6.1 #375

ChristinaZak opened this issue Sep 9, 2024 · 9 comments

Comments

@ChristinaZak
Copy link

PHP Fatal error: Uncaught Error: Class 'MailjetWp\\MailjetPlugin\\Front\\Mailjet' not found in /var/www/html/wp-content/plugins/mailjet-for-wordpress/src/front/MailjetPublic.php:84

### wp-core ###

version: 6.4.5
site_language: de_DE
user_language: de_DE
timezone: +02:00
permalink: /%category%/%postname%
https_status: true
multisite: false
user_registration: 0
blog_public: 1
default_comment_status: closed
environment_type: production
user_count: 3
dotorg_communication: true

### wp-paths-sizes ###

wordpress_path: /var/www/html
wordpress_size: 176,69 MB (185274967 bytes)
uploads_path: /var/www/html/wp-content/uploads
uploads_size: 957,69 MB (1004207967 bytes)
themes_path: /var/www/html/wp-content/themes
themes_size: 13,18 MB (13823821 bytes)
plugins_path: /var/www/html/wp-content/plugins
plugins_size: 65,82 MB (69012860 bytes)
database_size: 29,16 MB (30577664 bytes)
total_size: 1,21 GB (1302897279 bytes)

### wp-dropins (1) ###

advanced-cache.php: true

### wp-active-theme ###

name: Twenty Thirteen/
version: 1.1
author: the WordPress team
author_website: http://wordpress.org/
parent_theme: none
theme_features: core-block-patterns, widgets-block-editor, editor-style, automatic-feed-links, html5, post-formats, menus, post-thumbnails, custom-header, widgets
theme_path: /var/www/html/wp-content/themes/ak
auto_update: Deaktiviert

### wp-themes-inactive (3) ###

Twenty Twenty-Four: version: 1.0, author: Das WordPress-Team (latest version: 1.2), Automatische Aktualisierungen deaktiviert
Twenty Twenty-Three: version: 1.0, author: Das WordPress-Team (latest version: 1.5), Automatische Aktualisierungen deaktiviert
Twenty Twenty-Two: version: 1.3, author: Das WordPress-Team (latest version: 1.8), Automatische Aktualisierungen deaktiviert

### wp-plugins-active (17) ###

Advanced Custom Fields: version: 6.3.6, author: WP Engine, Automatische Aktualisierungen aktiviert
Advanced Custom Fields: Categories: version: 2.0.0.8, author: Cubeweb, Automatische Aktualisierungen aktiviert
Advanced Custom Fields: Repeater Field: version: 2.1.0, author: Elliot Condon, Automatische Aktualisierungen aktiviert
Categories Images: version: 3.1.0, author: Muhammad El Zahlan, Automatische Aktualisierungen aktiviert
FV Top Level Categories: version: 1.9.1, author: Foliovision, Automatische Aktualisierungen aktiviert
Gallery Bank - Photo Gallery - Image Gallery - Photo Albums - WordPress Gallery Plugin: version: 4.0.48, author: Tech Banker, Automatische Aktualisierungen aktiviert
Hansel & Gretel: version: 0.0.5, author: Chris Roche & Taylor Gorman [Clark Nikdel Powell], Automatische Aktualisierungen aktiviert
Mailgun: version: 2.1.0, author: Mailgun, Automatische Aktualisierungen aktiviert
Mailjet for WordPress: version: 6.0, author: Mailjet SAS (latest version: 6.1), Automatische Aktualisierungen deaktiviert
Ninja Forms: version: 2.9.58, author: The WP Ninjas (latest version: 3.8.14), Automatische Aktualisierungen deaktiviert
Post Duplicator: version: 2.36, author: Metaphor Creations, Automatische Aktualisierungen aktiviert
Simple Custom Post Order: version: 2.5.7, author: Colorlib, Automatische Aktualisierungen aktiviert
SuperSaaS Login: version: 2.1.10, author: SuperSaaS, Automatische Aktualisierungen aktiviert
TablePress: version: 2.4.1, author: Tobias Bäthge, Automatische Aktualisierungen aktiviert
Ultimate Posts Widget: version: 2.3.2, author: Clever Widgets, Automatische Aktualisierungen aktiviert
Widgets On Pages: version: 1.8.1, author: Todd Halfpenny, Automatische Aktualisierungen aktiviert
Widget Title Links: version: 1.4.1, author: Illimar Tambek, Automatische Aktualisierungen aktiviert

### wp-media ###

image_editor: WP_Image_Editor_Imagick
imagick_module_version: 1691
imagemagick_version: ImageMagick 6.9.11-60 Q16 x86_64 2021-01-25 https://imagemagick.org
imagick_version: 3.6.0
file_uploads: 1
post_max_size: 64M
upload_max_filesize: 64M
max_effective_size: 64 MB
max_file_uploads: 20
imagick_limits: 
	imagick::RESOURCETYPE_AREA: 122 MB
	imagick::RESOURCETYPE_DISK: 1073741824
	imagick::RESOURCETYPE_FILE: 786432
	imagick::RESOURCETYPE_MAP: 512 MB
	imagick::RESOURCETYPE_MEMORY: 256 MB
	imagick::RESOURCETYPE_THREAD: 1
	imagick::RESOURCETYPE_TIME: 9.2233720368548E+18
imagemagick_file_formats: 3FR, 3G2, 3GP, AAI, AI, APNG, ART, ARW, AVI, AVIF, AVS, BGR, BGRA, BGRO, BIE, BMP, BMP2, BMP3, BRF, 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, FAX, FILE, FITS, FRACTAL, FTP, FTS, G3, G4, GIF, GIF87, GRADIENT, GRAY, GRAYA, GROUP4, H, HALD, HDR, HEIC, 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, K25, KDC, LABEL, M2V, M4V, MAC, MAGICK, MAP, MASK, MAT, MATTE, MEF, MIFF, MKV, MNG, MONO, MOV, MP4, MPC, MPG, MRW, MSL, MTV, MVG, NEF, NRW, NULL, ORF, OTB, OTF, PAL, PALM, PAM, 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, PREVIEW, PS, PS2, PS3, PSB, PSD, PTIF, PWP, RADIAL-GRADIENT, RAF, RAS, RAW, RGB, RGBA, RGBO, RGF, RLA, RLE, RMF, RW2, SCR, SCT, SFW, SGI, SHTML, SIX, SIXEL, SPARSE-COLOR, SR2, SRF, STEGANO, SUN, TEXT, TGA, THUMBNAIL, TIFF, TIFF64, TILE, TIM, TTC, TTF, TXT, UBRL, UBRL6, UIL, UYVY, VDA, VICAR, VID, VIDEO, VIFF, VIPS, VST, WBMP, WEBM, WEBP, WMV, WPG, X, X3F, XBM, XC, XCF, XPM, XPS, XV, XWD, YCbCr, YCbCrA, YUV
gd_version: bundled (2.1.0 compatible)
gd_formats: GIF, JPEG, PNG, WebP, BMP
ghostscript_version: 9.53.3

### wp-server ###

server_architecture: Linux 4.15.0-206-generic x86_64
httpd_software: Apache/2.4.53 (Debian)
php_version: 7.4.29 64bit
php_sapi: apache2handler
max_input_variables: 1000
time_limit: 6000
memory_limit: 1024M
max_input_time: -1
upload_max_filesize: 64M
php_post_max_size: 64M
curl_version: 7.74.0 OpenSSL/1.1.1n
suhosin: false
imagick_availability: true
pretty_permalinks: true
htaccess_extra_rules: false
current: 2024-09-09T10:59:32+00:00
utc-time: Monday, 09-Sep-24 10:59:32 UTC
server-time: 2024-09-09T12:59:30+02:00

### wp-database ###

extension: mysqli
server_version: 10.7.1-MariaDB-1:10.7.1+maria~focal
client_version: mysqlnd 7.4.29
max_allowed_packet: 16777216
max_connections: 151

### wp-constants ###

WP_HOME: undefined
WP_SITEURL: undefined
WP_CONTENT_DIR: /var/www/html/wp-content
WP_PLUGIN_DIR: /var/www/html/wp-content/plugins
WP_MEMORY_LIMIT: 256M
WP_MAX_MEMORY_LIMIT: 256M
WP_DEBUG: false
WP_DEBUG_DISPLAY: false
WP_DEBUG_LOG: false
SCRIPT_DEBUG: false
WP_CACHE: false
CONCATENATE_SCRIPTS: undefined
COMPRESS_SCRIPTS: undefined
COMPRESS_CSS: undefined
WP_ENVIRONMENT_TYPE: Nicht definiert
WP_DEVELOPMENT_MODE: undefined
DB_CHARSET: utf8
DB_COLLATE: undefined

### wp-filesystem ###

wordpress: writable
wp-content: writable
uploads: writable
plugins: writable
themes: writable

### acf ###

version: 6.3.6
plugin_type: Free
ui_field_groups: 2
php_field_groups: 0
json_field_groups: 0
rest_field_groups: 0
post_types_enabled: true
ui_post_types: 6
json_post_types: 0
ui_taxonomies: 3
json_taxonomies: 0
rest_api_format: light
admin_ui_enabled: true
field_type-modal_enabled: true
field_settings_tabs_enabled: false
shortcode_enabled: true
registered_acf_forms: 0
json_save_paths: 1
json_load_paths: 1

@greenacresfoundation
Copy link

Getting this as well.

@greenacresfoundation
Copy link

Short term fix (seems to work so far)

Open plugin file editor -> Navigate to Src Includes folder. Open the MailjetPublic.php file

Add this

namespace MailjetWp\MailjetPlugin\Front; <---- This should already exist.

use MailjetWp\MailjetPlugin\Includes\Mailjet; // Add this line below the above.

@ChristinaZak
Copy link
Author

Thank you!

I downgraded to version 6.0.1 from GitHub Releases for now, works too.

@oleksandr-mykhailenko
Copy link
Collaborator

Today we re-upload 6.1 version with fix. Do you still have that error ?

@barking-horse
Copy link

Still doesn't work at all for any plugin versions to last one 6.1.3 to 6.01.

I will have to change my mailing solution for sending email marketing campaigns and newsletters for my 10 client sites, if this problem persists for more than 6 months.

Honestly, Mailjet is a good solution but not for WordPress it seems. When will the Mailjet developer team address these issues reported by many users?

@oleksandr-mykhailenko
Copy link
Collaborator

Still doesn't work at all for any plugin versions to last one 6.1.3 to 6.01.

I will have to change my mailing solution for sending email marketing campaigns and newsletters for my 10 client sites, if this problem persists for more than 6 months.

Honestly, Mailjet is a good solution but not for WordPress it seems. When will the Mailjet developer team address these issues reported by many users?

Hello. It's very sorry to hear this. Do you have some kind of errors that explain what happed on your website ? Because we released a few version after and it's not a system wide issue. Could you provide some details, please ?

@barking-horse
Copy link

As I said before, I used several. But for security reasons, I updated to version 6.1.3.
I have no PHP errors even if WP_DEBUG is set to TRUE. No javascript issues either.
The only message from the backoffice is:
Please make sure you are using the correct API key and secret key associated with your Mailjet account:

Since nothing has changed with the API keys, how do you explain this ?
What version of PHP do you recommend? Because on the wp plugin official repository it's always PHP 5.6 minimum.

@oleksandr-mykhailenko
Copy link
Collaborator

As I said before, I used several. But for security reasons, I updated to version 6.1.3. I have no PHP errors even if WP_DEBUG is set to TRUE. No javascript issues either. The only message from the backoffice is: Please make sure you are using the correct API key and secret key associated with your Mailjet account:

Since nothing has changed with the API keys, how do you explain this ? What version of PHP do you recommend? Because on the wp plugin official repository it's always PHP 5.6 minimum.

So we recommend to use as high version as you could. it should 7.4 minimu,, but preffer will be 8.2

Also, this message looks like something with you credentials, not with the code itself

@barking-horse
Copy link

So we recommend to use as high version as you could. it should 7.4 minimu,, but preffer will be 8.2

Also, this message looks like something with you credentials, not with the code itself

Sorry for the delay. I have the same message Please make sure you are using the correct API key and secret key associated with your Mailjet account: for two websites. I regenerated the secret key for one of the 2 accounts. Nothing change.

I don't think it's just a credentials issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants
@oleksandr-mykhailenko @barking-horse @ChristinaZak @greenacresfoundation and others