PHP Warning in Import/Export area
-
Hi there!
I get some errors with your plugin.
Warning: fopen(/home/jorjfls/public_html/blog//wp-content/plugins/quick-adsense/quick-adsense.php): failed to open stream: No such file or directory in /home/jorjfls/public_html/blog/wp-includes/functions.php on line 4463
Warning: fread() expects parameter 1 to be resource, boolean given in /home/jorjfls/public_html/blog/wp-includes/functions.php on line 4466
Warning: fclose() expects parameter 1 to be resource, boolean given in /home/jorjfls/public_html/blog/wp-includes/functions.php on line 4469
Salvează modificările
-
Hello,
the plugin you are using “quick-adsense” is another plugin:
https://ww.wp.xz.cn/plugins/quick-adsense-reloaded/Try out if this plugin quick adsense reloaded works for you instead.
But I use reloaded version.
This is the strange part!
The warning message appears after the import/export options.
I think some where in the code you forgot to change something from the old plugin version!So, I dont have installed quick-adsense, the older version. I have the new one, the reloaded version!
That’s really strange because
/home/jorjfls/public_html/blog//wp-content/plugins/quick-adsense/quick-adsense.phpis definitely part of quick-adsense and not the current new plugin.Have you used quick adsense in the past and uninstalled it in the meantime? Maybe some of the old db entries were not deleted properly by the old plugin.
You could try to install the old plugin again and than just disable it. Is this helpful?
If you like to you can send me a screenshot of the error to support at wp-staging dot com
Maybe this brings some light into itI install your plugin last night. I check before that, the older version, and you say in a comment that a new version will come. So I search in plugin repository for the new one, I found it, I install it! I never install the older version before!
I installed now the older verision. Activate, deactivat, delete. But the warning is still there.
I check in database for any entry for “quick-adsense” and the only results are in wp-options table but for quick-adsense-reloaded (install, update etc.)
I check the page source and this warning appear between the form and the submit button. So there is and error with call functions in this area.
Its not a big problem for me, I just see and tell you about it!
> Its not a big problem for me, I just see and tell you about it!
Thank you very much for this. My offer is still valid and you can give me a shout via mail.
I am receiving same error as well on my Import/Export page.
WordPress version
4.4.2Plugin version
1.0.4Heres the System info
### Begin System Info ###
— Site Info
Site URL: http://pitaj.online
Home URL: http://pitaj.online
Multisite: No— User Browser
Platform: Windows
Browser Name: Chrome
Browser Version: 48.0.2564.116
User Agent String: Mozilla/5.0 (Windows NT 10.0; WO
W64) AppleWebKit/537.36 (KHTML,
like Gecko) Chrome/48.0.2564.116
Safari/537.36— WordPress Configuration
Version: 4.4.2
Language: en_US
Permalink Structure: /%year%/%monthnum%/%day%/%postname%/
Active Theme: Academica 2.0
Show On Front: posts
Remote Post: wp_remote_post() works
Table Prefix: Length: 3 Status: Acceptable
WP_DEBUG: Disabled
Memory Limit: 40M
Registered Post Stati: publish, future, draft, pending, private, trash, auto-draft, inherit— QUADS Configuration
Version: 1.0.4
Upgraded From: None— WordPress Active Plugins
AccessPress Anonymous Post: 2.5.1
Add Meta Tags: 2.10.9
CloudFlare: 1.3.20
Facebook Comments Plugin: 2.3.3
Gallery Lightbox Lite: 1.0.0.25
Google Adsense Dashboard: 2.2.1
Google Analytics Dashboard for WP: 4.9.2
Mango Buttons: 1.2.8
Menu Icons: 0.9.2
NextGEN Facebook (NGFB): 8.25.0
Real-Time Find and Replace: 3.6
Social Sharing Buttons: 2.2.4
Top Bar: 1.2
WP QUADS – Quick AdSense Reloaded: 1.0.4
XML Sitemap & Google News feeds: 4.5.1— WordPress Inactive Plugins
Google AdSense: 1.2.1
Photo Gallery: 1.2.89— Webserver Configuration
PHP Version: 5.4.34
MySQL Version: 5.5.48
Webserver Info: Apache— PHP Configuration
Safe Mode: Disabled
Memory Limit: 256M
Upload Max Size: 32M
Post Max Size: 32M
Upload Max Filesize: 32M
Time Limit: 30
Max Input Vars: 1000
Display Errors: On (1)— PHP Extensions
cURL: Supported
fsockopen: Supported
SOAP Client: Not Installed
Suhosin: Not Installed### End System Info ###
Hi,
can you enable WordPress debug mode and let me know exact error notice?
Fixed in latest version. Thanks for the logs.
What was the version number this was fixed in?
New update with another fix for this is coming today
@rene Hermenau – Curious what the error in your code actually was. I haven’t used your plugin but one of my plugins users reported the exact same issue loading the main plugin file for my plugin Popup Maker, but its 1 user / 50,000 sites so I can’t for the life of me see why this would only happen to her.
Not corrupted plugin files already tried all that as well, saw you fixed it with a patch, curious if you can elaborate.
That is the broken code:
if ( is_plugin_inactive( $plugin_file ) ) { $plugin_data = get_plugin_data( $plugin_abs_path, $markup = true, $translate = true ); if ($plugin_data['Version'] === $checkVersion){ return true; } }and the fixed one:
if ( file_exists( $plugin_abs_path ) && is_plugin_inactive( $plugin_file ) ) { $plugin_data = get_plugin_data( $plugin_abs_path, $markup = true, $translate = true ); if ($plugin_data['Version'] === $checkVersion){ return true; } }As you can see in the first example get_plugin_data() is executed even if the plugin is not installed at all.
I bet you have a similar missing file_exists() condition.
@rene Hermenau – No don’t think thats it for me, we don’t load our main plugin file at all and that is the file getting an error to load. Appreciate you getting back to me so soon though.
The topic ‘PHP Warning in Import/Export area’ is closed to new replies.