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

Undefined offset #18

Open
Haoshenqi0123 opened this issue Mar 23, 2019 · 0 comments
Open

Undefined offset #18

Haoshenqi0123 opened this issue Mar 23, 2019 · 0 comments

Comments

@Haoshenqi0123
Copy link

php 91porn.php 报错,求大佬帮忙看下
node -v
v10.15.3
php -v
PHP 7.0.33
///////////////////////////
PHP Notice: Undefined offset: 1 in /mnt/codeStudy/av/91porn_php/detailPage.php on line 34
PHP Notice: Use of undefined constant LIBXML_HTML_NODEFDTD - assumed 'LIBXML_HTML_NODEFDTD' in /mnt/codeStudy/av/91porn_php/vendor/imangazaliev/didom/src/DiDom/Document.php on line 231
PHP Fatal error: Uncaught InvalidArgumentException: DiDom\Document::load expects parameter 4 to be integer, string given in /mnt/codeStudy/av/91porn_php/vendor/imangazaliev/didom/src/DiDom/Document.php:235
Stack trace:
#0 /mnt/codeStudy/av/91porn_php/vendor/imangazaliev/didom/src/DiDom/Document.php(69): DiDom\Document->load('http://91porn.c...', true, 'html')
#1 /mnt/codeStudy/av/91porn_php/91porn.php(12): DiDom\Document->__construct('http://91porn.c...', true, 'User-Agent:Mozi...')
#2 /mnt/codeStudy/av/91porn_php/91porn.php(24): listPage()
#3 {main}
thrown in /mnt/codeStudy/av/91porn_php/vendor/imangazaliev/didom/src/DiDom/Document.php on line 235

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

1 participant