AI Search
Classic Search
 Search Phrase:
 Search Type:
Advanced search options
 Search in Forums:
 Search in date period:

 Sort Search Results by:

AI Assistant
Notifications
Clear all

[Solved] Uploading and Embedding images

78 Posts
20 Users
19 Reactions
96.3 K Views
Robert
Posts: 10741
Admin
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@robert)
Support Team
Joined: 3 months ago

I'm sorry but I have no clue, this code works on dozens of websites without any issue, something is irregular on your website. Try to put it in the parent theme functions.php file, also try to remove the php end code ?>


Posts: 9
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@carsheadline)
Active Member
Joined: 8 years ago
Posted by: Robert

I'm sorry but I have no clue, this code works on dozens of websites without any issue, something is irregular on your website. Try to put it in the parent theme functions.php file, also try to remove the php end code ?>

I've done that. Have you had anyone using the code on WordPress 4.9?

I also installed a third party plugin for PHP code and it said the code causes a fatal error.


Robert
Posts: 10741
Admin
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@robert)
Support Team
Joined: 3 months ago

Please provide the fatal error message. This is not 4.9 compatibility issue. Something is irregular with your PHP, some extensions are not enabled or something else...

Also make sure you don't have function with identical name in other files. Function names should be unique.


Posts: 9
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@carsheadline)
Active Member
Joined: 8 years ago
Posted by: Robert

Please provide the fatal error message. This is not 4.9 compatibility issue. Something is irregular with your PHP, some extensions are not enabled or something else...

Also make sure you don't have function with identical name in other files. Function names should be unique.

Here's the error message provided to me by the plugin (it's the PHP inserter plugin): 

"Sorry, but your code causes a "Fatal error", so it is not applied!
Please, check the code and try again."

I'm not sure what you mean by making sure I don't have a function with an identical name?


Robert
Posts: 10741
Admin
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@robert)
Support Team
Joined: 3 months ago

This is not the fatal error message. This says nothing.


Page 7 / 14
Share: